When you run any command in Unix environment
system will do a fork, means a new sh will be created
through exec the command will run
then it exits from the child shell.
The above process will take place when you run a command in unix platforms. Sameway when you run a perl script the whole environment will be different. that is the reason the Bang will not take any effect as ikegami said.
In reply to Re: Using the bang(!) in perl system commands
by jesuashok
in thread Using the bang(!) in perl system commands
by kettle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |