Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Is it possible to execute some command in qx argument

by Anonymous Monk
on May 05, 2017 at 06:42 UTC ( [id://1189545]=note: print w/replies, xml ) Need Help??


in reply to Is it possible to execute some command in qx argument

$arg = q{"; othercmd; "};

Replies are listed 'Best First'.
Re^2: Is it possible to execute some command in qx argument
by vladimirfedorov (Novice) on May 05, 2017 at 07:00 UTC
    This seem to be working, thank you so much! I will test more and report back.
Re^2: Is it possible to execute some command in qx argument
by vladimirfedorov (Novice) on May 06, 2017 at 01:01 UTC
    Ok, it worked perfectly in command line but when testing end to end I found out that all quotes and apostrophes were replaced with &aquot; and & apos;. The arguments are being passed in the vm through an xml, so I guess that's why they were converted. Is a way to do the same without apostrophes or quotes?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found