J
jsnX
if i wanted to call system with an argument to a function that had
double quotes and backslashes in it - for example
perl -e 'print "hello world\n"; '
how would i make that work? would it be:
std::system("perl -e 'print \"hello world\\n\"; ' ");
? are there other ways?
double quotes and backslashes in it - for example
perl -e 'print "hello world\n"; '
how would i make that work? would it be:
std::system("perl -e 'print \"hello world\\n\"; ' ");
? are there other ways?