Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: After system call, scripts is getting terminated

by hippo (Vicar)
on Jan 08, 2014 at 14:26 UTC ( #1069807=note: print w/ replies, xml ) Need Help??


in reply to After system call, scripts is getting terminated

Here's a counter example for you:

#!/usr/bin/perl system("echo foo"); print "line 1"; print "line 2";

You'll notice that this script does not terminate after the system call. So, the difference is whatever your shell script is doing. (Note: I've preserved your lack of newlines in the print statements, perhaps you are looking for 2 lines of output where there is in fact only one?)


Comment on Re: After system call, scripts is getting terminated
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-07-04 20:07 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 (60 votes), past polls