Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: =() and &! don't go together?



On Sun, 28 Aug 2011 18:19:25 +0200
Peter Stephenson wrote:

> On Thu, 25 Aug 2011 13:22:09 +0200
> Štěpán Němec <stepnem@xxxxxxxxx> wrote:
>> It looks like when &! is used (i.e., "program =(computation) &!"), the
>> temporary file created by =() does not exist at the point the command
>> tries to access it. Is there a solution to this?

[...]

> You can work around both problems with
>
> (program =(computation)) &!

[...]

> The following patch does what I think is the best we can, namely just
> leave the files lying around but document the fact and the workaround.

[...]

On Mon, 29 Aug 2011 17:59:32 +0200
Bart Schaefer wrote:

> [>workers]

[...]

> Or { ... }&! too.

Thank you both very much for the suggestions and the fix! (I can't
really comment on whether the patch is the Right Thing to do or not, in
any case it does seem to fix the problem.)

-- 
Štěpán



Messages sorted by: Reverse Date, Date, Thread, Author