zsh-workers
 help / color / mirror / code / Atom feed
From: Andreas Kloeckner <inform@tiker.net>
To: zsh-workers@zsh.org
Subject: Job management puzzle/bug?
Date: Sun, 04 Dec 2011 20:10:17 -0500	[thread overview]
Message-ID: <87liqrlt6u.fsf@ding.tiker.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

Hi all,

here's a zsh behavior I don't understand:

...(program output)
^C...(program keeps running, ignores SIGINT)
...
^Z
[1]  + 29395 suspended  python test_quad.py 'test_integral_equation()'
$ kill %1
$ jobs                                                                                                                                                                                                                  andreas@ding 20:01
[1]  + suspended  python test_quad.py 'test_integral_equation()'
$ kill -9 %1
kill: kill %1 failed: no matching process
$ jobs                                                                                                                                                                                                                  andreas@ding 20:01
[1]  + suspended  python test_quad.py 'test_integral_equation()'


In particular, I don't understand why %1 still shows up in the output of
'jobs' when the process is long gone. bash behaves more like I'd expect.

(btw--please cc me)

Thanks,
Andreas

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2011-12-05  1:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  1:10 Andreas Kloeckner [this message]
     [not found] ` <CAH+w=7aLfrFVHgnEsZJnAhie6WATBO9ipwwZ90tps+0t+2T89g@mail.gmail.com>
2011-12-05  5:31   ` Bart Schaefer
2011-12-05  6:27   ` Andreas Kloeckner

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=87liqrlt6u.fsf@ding.tiker.net \
    --to=inform@tiker.net \
    --cc=zsh-workers@zsh.org \
    /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).