go ahead... be a heretic | |
PerlMonks |
Re: Re: Problems w/ system callsby muntfish (Chaplain) |
on Jun 02, 2004 at 08:07 UTC ( [id://359263]=note: print w/replies, xml ) | Need Help?? |
Regarding system - I've always used system "blah &";(rather than fork) to start stuff in the "background". I believe this works because of the & - system recognises this as a shell character and passes the whole string to /bin/sh. Any comments/potential problems with this approach? (other than lack of portability, of course...)
s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&;
In Section
Seekers of Perl Wisdom
|
|