in reply to Is it possible to execute some command in qx argument
If this is on Linux, as I think it is, there's trickery you can do by passing an argument containing substrings like `command args` or $(command args) (In the Linux shell, use single quotes on the command line to pass them). They will be executed by the shell called from the Perl script, in addition to the normal behaviour of the original call.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Is it possible to execute some command in qx argument
by vladimirfedorov (Novice) on May 06, 2017 at 00:39 UTC | |
by bart (Canon) on May 10, 2017 at 10:42 UTC |
In Section
Seekers of Perl Wisdom