in reply to Re: Is there a way with IPC::Run to hide command options from process table?
in thread Is there a way with IPC::Run to hide command options from process table?
Not to derail the question at hand, but the following does hide the script options:
#!/usr/bin/perl -lw $0 = q{test.pl}; qx(sleep $ARGV[0]); exit 0;
Without $0 set:
user 30221 27990 0 08:36 pts/51 00:00:00 /usr/bin/perl -lw ./test.p +l 10
With $0 set:
user 30385 27990 0 08:36 pts/51 00:00:00 test.pl
The question remains as to how something similar can be accomplished via IPC::Run.
In Section
Seekers of Perl Wisdom