Run SH Script under Windows Problem
Posted: July 18th, 2010, 3:46 pm
Hey guys i try to run a post process script with php cli. the script runs fine in CLI mode, but if the script runs from sabnzbd it only opens the script in text editor. I link *.sh with text editor for editing, but what need i change to run it as script. In sh script is this written:
#!c:\xampp\php\php.exe
# $1 (source path) is provided by sabnzbd+ upon execution
c:\xampp\php\php.exe -f "c:/xampp/htdocs\all_serverapps_menu\serien_updater\move_episode.php" -- %1
Hope you can help
#!c:\xampp\php\php.exe
# $1 (source path) is provided by sabnzbd+ upon execution
c:\xampp\php\php.exe -f "c:/xampp/htdocs\all_serverapps_menu\serien_updater\move_episode.php" -- %1
Hope you can help