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

From: Date: Mon, 31 Jul 2017 09:58:22 +0000
Subject: Bug #75010 [Com]: Runing PHP script with Task Scheduler gives Interactive console running
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210425@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75010&edit=1 ID: 75010 Comment by: spam2 at rhsoft dot net Reported by: ps3bl at mail dot ru Summary: Runing PHP script with Task Scheduler gives Interactive console running Status: Open Type: Bug Package: *General Issues Operating System: Windows 10 x64 PHP Version: 7.2.0beta1 Block user comment: N Private report: N New Comment: this was already reported and is in fact fixed in 7.2 head https://git.php.net/?p=php-src.git;a=shortlog;h=refs/heads/PHP-7.2 before write bugreports for alpha/beta versions just build current head or at least look at changes after the version was tagged Previous Comments: ------------------------------------------------------------------------ [2017-07-31 09:55:07] ps3bl at mail dot ru 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 this bug report at https://bugs.php.net/bug.php?id=75010&edit=1

« previous php.bugs (#210425) next »