[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 22:11:16 UTC 2013


Issue #745 has been updated by Ken Mays.

Status changed from New to Closed
Target version deleted (oi_151_stable)
% Done changed from 0 to 100

Resolved. Test this on /hipster with shell/bash at 4.2.45,5.11-0.151.1.8.1:20130802T181352Z. 
----------------------------------------
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