All string command line arguments that are passed down to argv get stripped of string quotes by the caller (e.g. Bash). If so quotes need either to be inserted again or the whole argument list needs to be accessed in full.
Ways of doing this could be the GetCommandLineA function (processenv.h) in windows [source] or the _NSGetArgv access property (crt_externs.h) for Mac [source].
All string command line arguments that are passed down to
argv
get stripped of string quotes by the caller (e.g. Bash). If so quotes need either to be inserted again or the whole argument list needs to be accessed in full.Ways of doing this could be the
GetCommandLineA
function (processenv.h
) in windows [source] or the_NSGetArgv
access property (crt_externs.h
) for Mac [source].