This will start a new shell though.#!/usr/bin/perl exec "cd somedir; $ENV{SHELL}"; # Substitute if not set by your shell
Abigail
In reply to Re: shell cd within perl script
by Abigail-II
in thread shell cd within perl script
by qq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |