Is it possible to get tabs current directory when process is running in that tab without stopping that process? My intention is to create tab next to current with same directory. I sure can press ⌃Z, run dt (ruby script using appscript that duplicates tab) and then fg, but I hope for way without stopping process.
| ||||
|
feedback
|
|
In another terminal tab/windows try ps -Exwwww this will list all your processes and their environment which will include PWD which will be the currect directory whe the process started. You will have to manually work out which process is the one started in the tab. See Apple's man page for ps. the -E shows the environment and -x all your processes. | |||||
feedback
|
|
You can append an Simply run: But, the output of the command will still be displayed in Terminal, to make the command 'quiet' do: Hope this helps! | |||||
feedback
|
|
| |||||||
feedback
|