Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Code to Open A File and Run Text From CMD Link

by kennethk (Abbot)
on Aug 18, 2014 at 18:50 UTC ( [id://1097885]=note: print w/replies, xml ) Need Help??


in reply to Code to Open A File and Run Text From CMD Link

Relevant links:

Backticks are probably what you actually want. GotToBTru's point is that what you suggest is potentially very insecure. Why a file as opposed to coding it in the script in question? This is a little XY Problem-y.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

  • Comment on Re: Code to Open A File and Run Text From CMD Link

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-19 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found