R
Reotaro Hashemoto
Guest
Hi,
I need to call some commands from shell (using bash), i tried using
system("command"), sh("command"). The first should print the shell
output (e.g. system("date") should print the day date, and return 0),
that doesn't happen! It only returns 0 and no output is printed!!
What is the problem I do probably have?
Thanks and regards,
Ahmad
I need to call some commands from shell (using bash), i tried using
system("command"), sh("command"). The first should print the shell
output (e.g. system("date") should print the day date, and return 0),
that doesn't happen! It only returns 0 and no output is printed!!
What is the problem I do probably have?
Thanks and regards,
Ahmad