Bug #75010 [Opn->Fbk]: Runing PHP script with Task Scheduler gives Interactive console running

From: Date: Thu, 03 Aug 2017 11:45:10 +0000
Subject: Bug #75010 [Opn->Fbk]: Runing PHP script with Task Scheduler gives Interactive console running
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210465@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 Updated by: ab@php.net Reported by: ps3bl at mail dot ru Summary: Runing PHP script with Task Scheduler gives Interactive console running -Status: Open +Status: Feedback Type: Bug Package: *General Issues Operating System: Windows 10 x64 PHP Version: 7.2.0beta2 Block user comment: N Private report: N New Comment: Please check the latest master snapshot. Thanks. Previous Comments: ------------------------------------------------------------------------ [2017-08-02 20:47:21] ps3bl at mail dot ru Still getting this problem using PHP 7.2.0beta2 ------------------------------------------------------------------------ [2017-07-31 11:44:04] ab@php.net @ps3bl please check the latest master snapshot http://windows.php.net/snapshots/ . Unfortunately no 7.2 snapshots yet. Thanks. ------------------------------------------------------------------------ [2017-07-31 09:58:19] spam2 at rhsoft dot net 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 ------------------------------------------------------------------------ [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 (#210465) next »