From: Christopher Faylor <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin 1.3.10: kill gives spurious Not owner
Date: Tue, 19 Mar 2002 10:49:00 -0000 [thread overview]
Message-ID: <20020319180017.GB16436@redhat.com> (raw)
In-Reply-To: <01ee01c1cf69$2095abc0$dc37500a@midaskapiti.com>
On Tue, Mar 19, 2002 at 05:11:36PM -0000, Stephen Osborn wrote:
>So the relevant script is now:
>QUOTE
>#!/bin/bash
>
>java -server -classpath
>"./formattest.jar;$MERIDIAN_CLASSPATH" -Dmeridian.home="$MERIDIAN_HOME"
>com.misys.meridian.runtime.server.StartServer formattest -logToScreen
>UNQUOTE
>
>However after all processing has stopped (I have suppressed the kill
>statements) ps yields:
>
> PID PPID PGID WINPID TTY UID STIME COMMAND
> 477 1 477 477 con 1006 15:03:10 /usr/bin/bash
> 457 1 386 380 con 1006 16:53:05 /usr/bin/sh
> 337 457 386 337 con 1006 Jan 1
>/cygdrive/d/jdk1.3/bin/java
> 453 386 386 448 con 1006 16:54:36 /usr/bin/ps
>
>I have scanned all of my scripts and /bin/sh does not appear in any of them.
>
>Any ideas as to how a bash process can appear as a sh process?
Nope.
From a bash window, I can kill the /bin/sh process (457 above). This does
>not terminate the java process (337 above) that was spawned from the /bin/sh
>process.
Yep, that's a side effect of /bin/sh's use of vfork.
>Also, from a bash window if I try to kill the java process I continue
>to get a Not owner message.
And, I explained why that is the case. java isn't a cygwin process.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
prev parent reply other threads:[~2002-03-19 18:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-04 7:51 Stephen Osborn
2002-03-04 11:10 ` Christopher Faylor
2002-03-07 7:28 ` Stephen Osborn
2002-03-07 8:42 ` Christopher Faylor
2002-03-19 10:00 ` Stephen Osborn
2002-03-19 10:49 ` Christopher Faylor [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=20020319180017.GB16436@redhat.com \
--to=cygwin@cygwin.com \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).