[Userland] [OpenIndiana Distribution - Bug #745] (Closed) subshell redirections which read stdin become unstoppable, interrupts hit the wrong process

illumos project devnull at illumos.org
Fri Aug 23 23:01:53 UTC 2013


Issue #745 has been updated by Ken Mays.

Status changed from Feedback to Closed

Verified against a Linux bash install. Seems solid. 
----------------------------------------
Bug #745: subshell redirections which read stdin become unstoppable, interrupts hit the wrong process
https://www.illumos.org/issues/745

Author: Rich Lowe
Status: Closed
Priority: Normal
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: 
Difficulty: Medium
Tags: bash


<pre>
sellout:~> ssh -t metropolis bash
metropolis:~$ cat <(cat /dev/stdin) | cat
^CConnection to metropolis closed.
zsh: exit 255   ssh -t metropolis bash
sellout:~>
</pre>

A ^D to attempt to get an EOF to the inner-most cat fails too, and I suspect it shouldn't.

The actual command I used was

@metropolis:~$ comm -13 <(sed -e 's,root_i386/,,') wsdiff.log | wc -l@

With which I now find that, without a wsdiff.log, may or may not screw up further input to a shell which may or may not be at the top level (I ended up with the shell only echoing every other character typed, but I'm not sure how/why).



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list