Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Using the bang(!) in perl system commands

by kettle (Beadle)
on Jun 06, 2006 at 08:48 UTC ( [id://553765]=note: print w/replies, xml ) Need Help??


in reply to Re: Using the bang(!) in perl system commands
in thread Using the bang(!) in perl system commands

Do you mean:
Any time you run a command on a Unix platform, system creates a fork, spawns a new sh, runs the command through exec, then exits the child shell. The same process also takes place when you run a perl script.

"the whole environment will be different. that is the reason the Band will not take any effect as ikegami said."

I'm not quite sure what you mean by these last two clauses though... Do you mean that perl defaults to the 'sh' shell when running system commands, and that this may differ from your personal settings?
In any case, thanks for the input!~
Joe

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://553765]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-25 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found