If you need to use the double quote inside the string, you can use the backslash character.
system("date -s \"2 June 2010 18:00:00\"");The single quote can be used without a backslash.
In reply to Re: to print a system command
by vinoth.ree
in thread to print a system command
by oikool
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |