Bug #75010 [NEW]: Runing PHP script with Task Scheduler gives Interactive console running

From: Date: Mon, 31 Jul 2017 09:55:12 +0000
Subject: Bug #75010 [NEW]: Runing PHP script with Task Scheduler gives Interactive console running
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210424@lists.php.net to get a copy of this message
From: ps3bl at mail dot ru Operating system: Windows 10 x64 PHP version: 7.2.0beta1 Package: *General Issues Bug Type: Bug Bug description:Runing PHP script with Task Scheduler gives Interactive console running Description: ------------ I had task scheduled in Windows Task Scheduler with settings: Action: Run program Program: <full_path>/php.exe Arguments: <my php script full path> And it worked ok on 7.1.7, but with 7.2.0b1 my script doesn't want to run, only the Interactive console opens (like if I would run php.exe -a). Everything works ok if I run "php <path_to_script>" manually from cmd.exe. Test script: --------------- Just add new task with running php.exe (parameters aren't necessaey to reproduce the bug) and run the task. Expected result: ---------------- Running php script Actual result: -------------- Running php interactive console -- Edit bug report at https://bugs.php.net/bug.php?id=75010&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75010&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75010&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75010&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75010&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75010&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75010&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75010&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75010&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75010&r=support Expected behavior: https://bugs.php.net/fix.php?id=75010&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75010&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75010&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75010&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75010&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75010&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75010&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75010&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75010&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75010&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75010&r=mysqlcfg

« previous php.bugs (#210424) next »