Bug #74849 [Com]: Process is started as interactive shell in PhpStorm

From: Date: Mon, 03 Jul 2017 20:13:52 +0000
Subject: Bug #74849 [Com]: Process is started as interactive shell in PhpStorm
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209793@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74849&edit=1 ID: 74849 Comment by: danack@php.net Reported by: svetlana dot zemlyanskaya at jetbrains dot com Summary: Process is started as interactive shell in PhpStorm Status: Closed Type: Bug Package: CGI/CLI related Operating System: Windows 10 PHP Version: 7.2.0alpha2 Block user comment: N Private report: N New Comment: AB, if you log in to the wiki we have licenses for this kind of thing: wiki.php.net_licenses_jetbrains Previous Comments: ------------------------------------------------------------------------ [2017-07-03 20:03:32] ab@php.net Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=8871d2d12eb6b516d6685a83ca8530af6d1557f8 Log: Fixed bug #74849 Process is started as interactive shell in PhpStorm ------------------------------------------------------------------------ [2017-07-03 17:57:30] ab@php.net Thanks for the report. I'd willing to fix this, but I'm not using PhpStorm, not even talking about how to configure it. Could you provide more details on the configuration part, especially if i fetch the trial version - would it suffice for a repro? Or maybe there simpler way to reproduce the issue? Thanks ------------------------------------------------------------------------ [2017-07-03 16:31:45] svetlana dot zemlyanskaya at jetbrains dot com Description: ------------ 1) Configure PHP 7.2 alpha 2 (http://windows.php.net/qa/) as PHP Interpreter in PhpStorm. 2) Create hello_world.php script. 3) Execute script with PHP Script run-configuration, i.e. 'C:\absolute\path\to\php\php.exe C:\absolute\path\to\script\hello_world.php' I think the problem is in commit: e5c273dc0ea4cb0e0583af9b4c5889a8c431264f PHP process executed by PhpStorm is treated as cli binary was clicked in filemanager. Here's related PhpStorm issue: https://youtrack.jetbrains.com/issue/WI-37018 Test script: --------------- <?php echo "Hello World!"; Expected result: ---------------- The script is executed and "Hello World!" is printed. Actual result: -------------- The script prints message "Interactive shell" and keeps running util manually canceled. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74849&edit=1

« previous php.bugs (#209793) next »