We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shell_exec
1 parent 5d933e3 commit 75b660dCopy full SHA for 75b660d
src/Context/FeatureContext.php
@@ -769,7 +769,7 @@ public function afterScenario( AfterScenarioScope $scope ): void {
769
*/
770
private static function terminate_proc( $master_pid ): void {
771
772
- $output = `ps -o ppid,pid,command | grep $master_pid`;
+ $output = shell_exec( "ps -o ppid,pid,command | grep $master_pid" );
773
774
foreach ( explode( PHP_EOL, $output ) as $line ) {
775
if ( preg_match( '/^\s*(\d+)\s+(\d+)/', $line, $matches ) ) {
0 commit comments