Hallo Bernd!

>
>> system( ". /PATH/TO/YOUR/SCRIPT && /PATH/TO/YOUR/APP" );
>>
>> [Note the dot in front of the script name that runs the script in the
>> same shell - see shell built-in "source" or "."]
> That is called "sourcing" the script - and *not* "running" as in "to run
> a program".
True ... but the question was from a more or less Linux novice, which
probably doesn't distinguish between running and sourcing (that is why I
gave the reference where to find more information to the source
command). From context I assumed he is going to do environmental setup
for his scripts and applications to be executed (that is, he needs
sourcing), so your otherwise correct idea could have led David to
problems. My addition was just to avoid those additional problems.

--
Harald

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to