Unlikely but if your parent process is a unix shell and you want to end it as soon as the perl script ends, then end your perl script with exec '/bin/bash --ini-file somefile' and somefile contains cd /. You can do without the file by hacking something like this: bash$ /bin/bash --init-file <(echo "cd/"). In this way you will end up with a new shell and in dir /
In reply to Re: Is it possible to change the directory of the parent process on Linux?
by bliako
in thread Is it possible to change the directory of the parent process on Linux?
by thirtySeven
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |