Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Don't ask to ask, just ask
 
PerlMonks  

Re^3: system() does not wait

by cbolcato (Novice)
on Dec 01, 2005 at 08:41 UTC ( [id://513267]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

sorry the following is the output: #OUTPUT -1 16777215 127 128

Replies are listed 'Best First'.
Re^4: system() does not wait
by fizbin (Chaplain) on Dec 01, 2005 at 10:29 UTC

    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://513267]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.