This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: pty doesn't get closed when a shell is attached
- From: Ivan Pantuyev <ipantuye at redhat dot com>
- To: frysk at sourceware dot org
- Date: Mon, 07 Aug 2006 16:15:04 -0400
- Subject: Re: pty doesn't get closed when a shell is attached
- References: <44D3DC83.7070004@redhat.com>
And yeah, the shell also says "sh: no job control in this shell", if
that is of any use (a problem on it's own though)
Ivan Pantuyev wrote:
So I create a Pty class and make vte it's master. Everything works fine.
But when I do
Manager.host.requestCreateAttachedProc(ptyname, ptyname, ptyname, new
String[] {"/bin/sh"},
new
TaskObserver.Attached()
{....
and exit frysk, the pty just hangs there (as does the shell, but
that's not surprising). I don't see how something using a pty from the
slave end could keep it alive... Something I'm doing wrong in that
line? Ideas?
thanks