bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] terminal corruption with spawned ruby processes


From: Eric Thompson
Subject: Re: [Bug-readline] terminal corruption with spawned ruby processes
Date: Wed, 12 Apr 2017 09:38:06 -0700



On Tue, Apr 11, 2017 at 6:43 PM, Chet Ramey <address@hidden> wrote:
On 4/11/17 5:22 PM, Eric Thompson wrote:
> Hi all,
>    I ran into a possible problem in readline developing a library for Rake
> to aid in managing and launching processes.
>
> basically, if you use (ruby) Process.spawn or other ways to launch a
> subprocess that don't detach and that process inherits the stdin default
> pipe of the parent, the terminal input gets corrupted before hitting the
> child process (if that child is using readline).

All indications are that you have multiple processes simultaneously
attempting to read from stdin.

maybe.  that's not how ruby Process is supposed to work.  in addition, this isn't an issue when using alternatives to gnu readline (editline, rb-readline).
 

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



--
eric thompson                                      qa
(hc)erict             (t)@er0ck             (gh)er0ck

¤--¤ puppet:                           The shortest path to better software.
PuppetConf 2017, 10-12 October
San Francisco, California
Save $328, register by 30 June w/ early adopter discount

reply via email to

[Prev in Thread] Current Thread [Next in Thread]