[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Aus einem Script einen unabhängigen Proze ss starten



Am 2005-03-22 21:07:11, schrieb Wolf Wiegand:

> Eventuell so?
> 
> /-----------------------------
> | #!/bin/sh
> |
> | foo() {
> |         echo "Entered foo"
> |         sleep 5
> |         echo "Exit foo"
> | }
> |
> | foo&
> | foo&
> | echo Done
> \-----------------------------

Dachte ich auch, funktioniert aber nicht, denn wenn das Script beendet
wird und die Funktion noch am laufen ist, wird diese mit beendet...

Was ich benötige ist das zeiugs mit dem NOHUB, nur weis ich nicht, wie
das funktioniert...

> hth, Wolf

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: