Skip to content

md-command-line/many_terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages