![]() |
Shell script in C
Hi all, I have a proplem when embed shell into C code by Sytem() command. There is my code: char acCommand[512]; acCommand[0] = '\0'; sprintf(acCommand,"sed \'s/\\/\%s\\/g\' %s > %s", initParam.UDN, "/tmp/web/dmr.xml", "/tmp/web/dmr.xml.tmp"); printf("[%s]",...
|
| All times are GMT -4. The time now is 08:50 PM. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.