Arnaud, I haven't worked on that commmand in a while, but I seem to recall the serverScriptHelper->shell command is executed as an admin level user. It will not run commands that require root level access rights..
Let me know if that helps... Robert Walter [EMAIL PROTECTED] Cyrius Automation Inc. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnaud L. Sent: Tuesday, June 24, 2003 1:57 PM To: [EMAIL PROTECTED] Subject: [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 ? _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
