Won't this pretty much do what you're asking for?:
... if( some condition ) { ## fork and exit; ## Update: redundant exec $^X, $0, @ARGV; }
In reply to Re^2: Get Entire Command Line of a Program
by BrowserUk
in thread Get Entire Command Line of a Program
by HalNineThousand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |