zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Bart Schaefer" <schaefer@candle.brasslantern.com>,
	<zsh-workers@sunsite.auc.dk>
Subject: RE: PATCH: Run builtins, functions, etc. under zpty
Date: Wed, 8 Nov 2000 15:38:03 +0300	[thread overview]
Message-ID: <001b01c04980$bcd76c50$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <1001105223736.ZM1787@candle.brasslantern.com>


Attempt to run any (external) command with zpty under Cygwin now results in:

zsh: can't set tty pgrp: not owner

(from child process) and hanging? zsh. That is what I have in process list:

$ ps -l
      PID    PPID    PGID     WINPID TTY  UID    STIME COMMAND
     1696       1    1696       1696   0 1006 15:22:33 /usr/bin/bash
      580       1     580        580   1 1006 15:22:34 /usr/bin/zsh
     2328     580    2328       2328  -1 1006 15:22:52 /usr/bin/zsh
     2188    1696    2188       1904   0 1006 15:28:35 /usr/bin/ps

for "zpty sh /bin/sh". Zsh does not appear to execute command at all, but it
does not exit either.

This happens with the version of cygwin that did work before, so it is very
much related to the changes in zsh. The messages above comes from attachtty,
but I am not sure when it is executed and what happens after this, i.e. why
zsh apparently "hangs".

-andrej


  parent reply	other threads:[~2000-11-08 12:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-05 22:37 Bart Schaefer
2000-11-06  6:59 ` Bart Schaefer
2000-11-08 12:38 ` Andrej Borsenkow [this message]
2000-11-08 16:48   ` Bart Schaefer
2000-11-08 17:15     ` Andrej Borsenkow

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='001b01c04980$bcd76c50$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).