Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Expect prints command to console

by Krambambuli (Deacon)
on Jun 21, 2010 at 15:50 UTC ( #845766=note: print w/ replies, xml ) Need Help??


in reply to Expect prints command to console

Might help to make your code snippet runnable - what sort of Perl do you use ?

I wanted to give it a try, but my Perl doesn't know what 'crash' is, so I get only compile errors.

Is that

$cmd = "cd $tmp_dir; $^X $script $cmd";
line you have correct ? Isn't $cmd undefined when the string is evaluated ?


Comment on Re: Expect prints command to console
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2015-07-05 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls