Jump to content
Sign in to follow this  
sondo2121

Passing Arguments to an executable

Recommended Posts

sondo2121

Can you somehow pass arguments to an executable to have it be read by the script?

Thanks

William

Share this post


Link to post
Share on other sites
/dev/null

Can you somehow pass arguments to an executable to have it be read by the script?

Thanks

William

See help file section "Running Scripts". The array $cmdline is the key to your solution. Search the forum for $cmdline for sample code.

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites
sondo2121

See help file section "Running Scripts". The array $cmdline is the key to your solution. Search the forum for $cmdline for sample code.

Cheers

Kurt

thanks, that worked.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.