[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] exec command



Hi,

I have try to use Class Sausalito to run external program like

serverScriptHelper->shell("/bin/mkdir /tmp/test",$ouput);

And it work fine... but when i trying tu run htpasswd to add a user password
on a .htaccess file like

serverScriptHelper->shell("/usr/bin/htpasswd -c -b
/home/.sites/148/site16/polo/myfile login password",$ouput); it don't
execute my command... in addition this command work fine on console mode ...

Is there a restriction with this function ?