Mail Archives: cygwin-developers/2001/07/10/16:28:24
--UpzSSS8WA0lgtKcR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I have been using a Cygwin DLL that I built from CVS on 2001-06-28.
With this DLL, I discovered that ash will hang waiting for process
termination even when a Win32 program is spawned in background.
See the attachments for two small test cases. hang.sh exhibits the
problem while nohang.sh does not. Also, note that the problem does
not occur regardless of the shell used, if the background process is a
Cygwin program.
The problem does not occur in 1.3.2 -- so it has been introduced since
that release. I did not try the latest because reading cygwin-cvs
seemed to indicate that most of the changes since 2001-06-28 have been
in setup.exe. Additionally, I'm reluctant to modify my sandbox because
I currently trying to help Rob track down a pthreads problem. Anyway,
my WAG is that this problem is still in the latest CVS.
Anyone have any ideas as to what is causing the problem?
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: 732.264.8770 x235
Dot Hill Systems Corp. Fax: 732.264.8798
82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
--UpzSSS8WA0lgtKcR
Content-Type: application/x-sh
Content-Disposition: attachment; filename="hang.sh"
#!/bin/sh
echo before
notepad &
echo after
--UpzSSS8WA0lgtKcR
Content-Type: application/x-sh
Content-Disposition: attachment; filename="nohang.sh"
#!/bin/bash
echo before
notepad &
echo after
--UpzSSS8WA0lgtKcR--
- Raw text -