Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: weird zsh problem with background procs and scripts
- X-seq: zsh-users 10601
- From: Geoff Wing <gcw@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: weird zsh problem with background procs and scripts
- Date: Mon, 14 Aug 2006 12:39:20 +1000
- In-reply-to: <20060812223515.GA9470@fast>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultancy
- References: <20060812223515.GA9470@fast>
On Sunday 2006-08-13 08:34 +1000, Tyler Spivey output:
:If you put the following into a loop it won't work. Is there a
:workaround?
:#!/bin/zsh
:while :;do
:ed &
:jobs
:sleep 1
:done
:this should launch a bunch of eds int he background, but only seems to
:load one.
Works for me. 4.3.2-dev-1 on NetBSD.
Maybe your ed is exiting instead?
[3] 3050
[3] + suspended (tty input) ed
[3] + suspended (tty input) ed
[4] 8521
[4] + suspended (tty input) ed
[3] - suspended (tty input) ed
[4] + suspended (tty input) ed
[5] 29234
[5] + suspended (tty input) ed
[3] suspended (tty input) ed
[4] - suspended (tty input) ed
[5] + suspended (tty input) ed
...
and so on.
Regards,
Geoff
Messages sorted by:
Reverse Date,
Date,
Thread,
Author