help-make
[Top][All Lists]
Advanced

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

Re: Can the exit status of the code block in @(...) be obtained from out


From: Jon Forrest
Subject: Re: Can the exit status of the code block in @(...) be obtained from outside the @() structure?
Date: Tue, 18 Jan 2022 16:09:12 -0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 1/18/2022 1:03 PM, Paul Smith wrote:

You can achieve this if you want: that's what the .ONESHELL feature
does.

OK. But what about thinking bigger. What would the positives and
negatives be if make were to generate a big shell script so that
all the work were done in one shell? Such a shell script could
handle parallel execution by proper use of the 'wait' command.
This is similar to what Ansible does, but Ansible generates a Python
program rather than a shell script.

To be honest, I don't have any reason to do this, but it's
something to think about.

Jon




reply via email to

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