[Gambas-user] EXEC vs. SHELL
Rolf-Werner Eilert
eilert-sprachen at ...221...
Wed Jun 17 08:12:01 CEST 2009
Ok, thanks, that makes it clearer!
Rolf
Mike Keehan schrieb:
> Hi Rolf,
>
> EXEC will run a single executable program.
> SHELL can run a shell script, including pipes and redirection between
> two or more executables.
>
> You could think of EXEC as the fundamental way to run another program,
> while SHELL is shorthand for EXEC /bin/bash <parameters...>.
>
> Mike.
>
>
> Rolf-Werner Eilert wrote:
>> Could someone explain me why there are two different ways of executing
>> shell commands and how they differ in practice? I mean, when do I want
>> EXEC and when will I want SHELL? What's the idea behind them?
>>
>> Thanks for all hints :-)
>>
>> Rolf
More information about the User
mailing list