shell_exec problem with bsdtar

From: Date: Wed, 13 May 2009 21:14:24 +0000
Subject: shell_exec problem with bsdtar
Groups: php.general 
Request: Send a blank email to php-general+get-292557@lists.php.net to get a copy of this message
I'm trying to emulate Linux facilities on the windows servers, and have found bsdtar can be renamed tar.exe so that it will work the same as a shell_exec( "tar" ) call in Linux. The full paths are used to the files and the command line returns the extracted file name when run at a command prompt, and similar commands for unzip and unrar work fine, later in the check list, but using the 'tar' and also 'bsdtar' command simply returns NULL, and the extracted file is not created. Any ideas what I've got wrong? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php

« previous php.general (#292557) next »