help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] catching read error conditions


From: Mart Frauenlob
Subject: Re: [Help-bash] catching read error conditions
Date: Mon, 28 Jan 2013 17:11:29 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

On 28.01.2013 14:32, Greg Wooledge wrote:
On Sat, Jan 26, 2013 at 11:34:12PM +0100, Mart Frauenlob wrote:
[...]

2. Detect if the command inside the redirected process substitution
fails and print a message to stderr.

A process substitution runs a command in the background, but this
command is not considered a "job" and can't be managed in the ways
that directly spawned background jobs (using "&") can be managed.

If you need to observe/control a background job directly, create your
own named pipe and launch the background job in the conventional way,
rather than using the <() or >() shortcuts.


Thank you very much, the way to go should be clear now.



reply via email to

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