Top "Argv" questions

Argument vector containing the arguments passed in from the command line when starting a program.

Return value of atoi (argv[1]) is always 0

I'm running into a problem about return value of atoi(). I want to convert the char in command line argument …

c argv atoi
How to parse strings to look like sys.argv

I would like to parse a string like this: -o 1 --long "Some long string" into this: ["-o", "1", "--long", 'Some long …

python parsing argv
Why check if (*argv == NULL)?

In the data structures class that I am currently taking, we have been tasked with writing a web crawler in …

c++ c null main argv
NameError: name 'argv' is not defined

I am trying to make a Google API call and am getting an error with the beginning of the code …

python google-api python-3.4 argv
Python Popen sending to process on stdin, receiving on stdout

I pass an executable on the command-line to my python script. I do some calculations and then I'd like to …

python popen argv
convert string to argv in c++

I have an std::string containing a command to be executed with execv, what is the best "C++" way to …

c++ stdstring argv
Pass command line arguments as well as input from STDIN for Perl script?

I have a Perl script which takes both command line arguments and STDIN #!/usr/bin/perl -w use strict; use …

perl stdin command-line-arguments argv
How to use python argparse with args other than sys.argv?

I've been all over the documentation and it seems like there's no way to do it, but: Is there a …

python argparse argv
Can't compare argv?

I have this code: if (argv[i] == "-n") { wait = atoi(argv[i + 1]); } else { printf("bad argument '%s'\n",argv[…

c argv
BASH scripting: n-th parameter of $@ when the index is a variable?

I want to retrieve the n-th parameter of $@ (the list of command line parameters passed to the script), where n …

bash shell argv