Bug #74849 [Fbk->Opn]: Process is started as interactive shell in PhpStorm

From: Date: Tue, 04 Jul 2017 12:08:35 +0000
Subject: Bug #74849 [Fbk->Opn]: Process is started as interactive shell in PhpStorm
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209803@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 User updated by: svetlana dot zemlyanskaya at jetbrains dot com Reported by: svetlana dot zemlyanskaya at jetbrains dot com Summary: Process is started as interactive shell in PhpStorm -Status: Feedback +Status: Open Type: Bug Package: CGI/CLI related Operating System: Windows 10 PHP Version: 7.2.0alpha2 Block user comment: N Private report: N New Comment: Great, thank you! Build from master (Revision: r10dbc0b (July 04 2017, 13:03:13)) works perfectly. Previous Comments: ------------------------------------------------------------------------ [2017-07-04 11:30:31] ab@php.net @danack, oh, good to know, thanks :) Thanks for the further info, svetlana dot zemlyanskaya at jetbrains dot com. I've found a better way to achieve automatic interactive console activation and pushed a fix yesterday. Could you please check the latest master snapshots ? http://windows.php.net/snapshots/ About the programmatic process creation - nope, seems PhpStorm is doing something a bit different. Fe all our test suite uses proc_open to invoke a test. And also there was no fails with other use cases. A child process always will have its own console, and that console gets destroyed at the process end. Thanks. ------------------------------------------------------------------------ [2017-07-04 09:26:57] svetlana dot zemlyanskaya at jetbrains dot com You don't need a license to reproduce, trial version would work fine. In PhpStorm process is created by ProcessBuilder (https://docs.oracle.com/javase/tutorial/essential/concurrency/procthread.html) but I think any programmatically created process will reproduce the issue. It's important to start a php process without corresponding console process. In PhpStorm you can reproduce the issue with these steps: 1) Open a folder with a PHP script in PhpStorm. 2) Open Settings page by "File | Settings" for Windows. 3) Configure PHP Interpreter in "Language & Frameworks | PHP" inside setting. 4) Navigate to a PHP script and invoke the context menu. 5) Select "Run" option and then the one which contains "php" in its icon. ------------------------------------------------------------------------ [2017-07-03 20:13:50] danack@php.net AB, if you log in to the wiki we have licenses for this kind of thing: wiki.php.net_licenses_jetbrains ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=74849 -- Edit this bug report at https://bugs.php.net/bug.php?id=74849&edit=1

« previous php.bugs (#209803) next »