Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: cygwin repeat execute the crushed program

by moritz (Cardinal)
on Sep 26, 2011 at 09:07 UTC ( #927828=note: print w/replies, xml ) Need Help??

in reply to cygwin repeat execute the crushed program

If a crash of the program is reflected in its return value, you can check it as described in the system docs, and only continue executing if the return value is 0.

  • Comment on Re: cygwin repeat execute the crushed program

Replies are listed 'Best First'.
Re^2: cygwin repeat execute the crushed program
by handsomedylan (Initiate) on Sep 26, 2011 at 14:54 UTC
    actually that's exactly what i 've done in my perl script,but i do not put the system() in the loop,the system command itself execute 6 times,so that's why i am confused, i tried to type the command in the cygwin directly ,it also execute for 6 times, so i guess it's not the problem of the perl or system(),but the cygwin itself,kinds of self protection.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://927828]
[pryrt]: matches neither. :-)
[stevieb]: wtf!? lol
[stevieb]: I'm checking some other versions. This is a little frightening
[pryrt]: Sorry, my bad: it was't done downloading when I did the sha1sum... now I match your 309ad... value
[stevieb]: I'll see how to get in touch with someone and advise that there's an issue. Thanks for helping me confiirm pryrt!

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-03-29 21:02 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (353 votes). Check out past polls.