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.
1 parent 710ec25 commit e1f32e8Copy full SHA for e1f32e8
src/AsyncTaskStatus.php
@@ -128,7 +128,6 @@ private function findTaskRunnerProcess(): bool
128
// we can assume we are in cmd, but wcim in cmd is deprecated, and the replacement gcim requires powershell
129
$results = [];
130
$fullCmd = "powershell echo \"\"(gcim Win32_Process -Filter \\\"CommandLine LIKE '%id=\'$encodedTaskID\'%'\\\").ProcessId\"\"";
131
- // \Illuminate\Support\Facades\Log::info($fullCmd);
132
exec("powershell echo \"\"(gcim Win32_Process -Filter \\\"CommandLine LIKE '%id=\'$encodedTaskID\'%'\\\").ProcessId\"\"", $results);
133
// will output many lines, each line being a PID
134
foreach ($results as $candidatePID) {
0 commit comments