help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] backgrounding a process sends it into a tailspin


From: Steven W. Orr
Subject: Re: [Help-bash] backgrounding a process sends it into a tailspin
Date: Wed, 12 Sep 2012 14:49:59 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

On 09/12/12 14:43, quoth Chet Ramey:
For completeness, here is the script I ran that hung:

In read, according to strace.  That's fine: it's just waiting for input.
I mean the one that your user ran in the background that caused the CPU-
killing signal storm.

Chet


So then is is the case that instead of redirecting stdin from /dev/null, a better approach would be to close stdin, a la 0<- ?

--
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net





reply via email to

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