Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: system() does not wait

by fizbin (Chaplain)
on Dec 01, 2005 at 15:29 UTC ( #513305=note: print w/replies, xml ) Need Help??


in reply to Re^3: system() does not wait
in thread system() does not wait

If $? is -1, then script2 is not getting invoked. How do you know that script2 is getting invoked at all? Is it doing something? Can you see it in a ps statement?

Please print out an error message that contains the string-ified version of $! (That is, put something like print "$!" in your code).

I strongly suspect that either you're forgetting to set your PATH variable or have forgotten to make SCRIPT2 executeable. Or maybe you typo'ed the name of SCRIPT2 in your system statement.

Either way, the complete and total lack of markup in your responses makes it exceedingly difficult to read what you're trying to say.

--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2021-11-30 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?