scsh-users
[Top] [All Lists]

subprocesses die after SIGCONT?

To: scsh-bugs@zurich.ai.mit.edu
Subject: subprocesses die after SIGCONT?
From: mmc@maruska.dyndns.org (Michal Maruška)
Date: 02 Jun 2002 14:15:29 +0200
i run this script:

#!/usr/bin/scsh -s
!#
;; test
(display "start test\n")
(run (sleep 5s))
(display "ok\n")




now i press  C-z  (i'm in zsh), and with "fg" i resume the process. But (if 
SLEEP was
running), the process does not finish.

Can anybody else see it ?

i think it's 0.6.2.


when i run PS i get:

after C-z:
5714  0.0  0.0  1592  528 pts/162  TN   14:11   0:00 sleep 5s

after fg:
5714  0.0  0.0     0    0 pts/162  ZN   14:11   0:00 [sleep <defunct>]


<Prev in Thread] Current Thread [Next in Thread>