0

I have compiled a C program in BASH which requires command line arguments. However, for the life of me, I can't remember how to specify them at launch. Such a trivial question.

For example I am running the program:

./myprogram.exe(myargument)

But it obviously doesn't work...

1 Answer 1

3

Like this:

program arg1 arg2 arg3 "arg4 containing spaces"
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.