From: Geoff Wing <gcw@zsh.org>
To: zsh-users@sunsite.dk
Subject: Re: weird zsh problem with background procs and scripts
Date: Mon, 14 Aug 2006 12:39:20 +1000 [thread overview]
Message-ID: <20060814023920.GA10157@primenet.com.au> (raw)
In-Reply-To: <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
prev parent reply other threads:[~2006-08-14 2:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-12 22:35 Tyler Spivey
2006-08-13 21:45 ` Anssi Saari
2006-08-13 21:53 ` Bart Schaefer
2006-08-14 2:39 ` Geoff Wing [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060814023920.GA10157@primenet.com.au \
--to=gcw@zsh.org \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).