Thread Prozess Starten und PID speichern: ohne open (8 answers)
Opened by bloonix at 2006-06-03 17:51

bloonix
 2006-06-04 19:00
#66983 #66983
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
Hi pq,

[quote=pq,03.06.2006, 17:31]
Code: (dl )
1
2
3
...
elsif (defined $pid) {
close STDERR;
[/quote]

dass close reicht leider nicht, da die Ausgabe des Prozesses über
STDOUT weiterläuft und wenn ich ein close STDOUT; einhänge,
dann beendet sich der Prozess.

Ich habe es einfach so gemacht...

Code: (dl )
1
2
open STDOUT,'>','/dev/null';
open STDERR,'>','/dev/null';


Gruß,
opi
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Prozess Starten und PID speichern: ohne open