Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

mac_new_terminalwindow_run_command

Windows Solution, link

for d in ./*/; do (cd "$d" && echo "$d" && start sh -c "echo $d; git status;"); done;
start "" "%ProgramFiles%\Git\git-bash.exe" -c "echo 1 && echo 2 && /usr/bin/bash --login -i"
start "" "c:\path with spaces\app.exe" param1 "param with spaces"

Mac Solution

dir=pwd;for d in */ ; do (cd "$d" && echo "$d" && osascript -e 'tell app "Terminal" to do script "'"echo $($dir)"'"'); done;

There must be another way, Mac and Linux? link

echo "echo hello" > /tmp/tmp.sh ; chmod +x /tmp/tmp.sh ; open -a Terminal /tmp/tmp.sh

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages