On Tue, Oct 30, 2001 at 12:51:57PM -0800, Andrew Ryan wrote:
> Hmm, I though 0.99.2 had the non-blocking alert code?
> 
> Can you give more details on the 'fake' program, what it does, and do you 
> know where in the 'fake' program the hanging is occuring?
> 
> 
> At 04:16 PM 10/29/01 -0500, Carlos Ordonez wrote:
> >I am running mon-0.99.2 and I am trying to run this command from an alert:
> >system("fake 192.168.2.10 &")
> >and mon hangs.   fake starts correctly but the alert command hangs, so
> >nothing works after that. Before this I was running mon-0.38.16 and it was
> >working fine. Has anyone experience the same problem?

Hmm, I'm going to speak on this despite not being any kind of expert.
Let me know if I'm wrong.

Putting an ampersand after the shell command makes the command return to
the shell, not the shell return to perl. See the difference? Essentially
this makes the shell ready for more input/commands, but does not make
the shell command exit and return an exit code to perl.

Why that ever worked I don't know, my logic dictates that it never
should have.
-- 
Nate Campi  <[EMAIL PROTECTED]>  www.campin.net  GnuPG key: 0xC17AEF79   
Key fingerprint = BF12 722F 8799 E614 33CC  FAB7 5A90 C464 C17A EF79

The Strong Lusethropic Principle states: "The more idiot proof the
software, the more it encourages the user to be careless and not
think. Therefore, idiot-proof software actually encourages,
contributes, and actually CAUSES lusers to be stupid."  
 
The Weak Lusethropic Principle states: "As more idiot-proof software
becomes available, more idiots are able to use computers. Idiot-proof
software did not make or cause computer lusers; it simple allowed
lusers to use computers where they could not before."  

Reply via email to