Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: Re: X10 and Windows

by Anonymous Monk
on Aug 07, 2002 at 02:11 UTC ( [id://188214]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: X10 and Windows
in thread X10 and Windows

Thanks, This was helpful, but unfortunatley it returned the number '256' Anyone have anyidea what that relates to? Thanks

Replies are listed 'Best First'.
Re^5: X10 and Windows
by tstock (Curate) on Feb 01, 2005 at 04:03 UTC
    quoted from man page regarding system() :
                   The return value is the exit status of the program as returned
                   by the "wait" call.  To get the actual exit value shift right
                   by eight (see below).  See also "exec".  This is not what you
                   want to use to capture the output from a command, for that you
                   should use merely backticks or "qx//", as described in
                   "'STRING'" in perlop.  Return value of -1 indicates a failure
                   to start the program (inspect $! for the reason).
    
    You can get to this by issuing the "perldoc -f system" command.

    Tiago

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found