Skip to content

Commit

Permalink
Try to get the process by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-IX committed Jan 2, 2025
1 parent fc5f044 commit a95c77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/manual_api_cache_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python scripts/set_default_settings.py
echo "Building Cache"
python source/main.py --build-cache &
$MAIN_PID = $($pid = Get-Process python | Select-Object -First 1).Id
$MAIN_PID = $($pid = Get-Process -Name "Blender Launcher" | Select-Object -First 1).Id
sleep 240
echo "Killing main.py"
Stop-Process -Id $MAIN_PID
Expand Down

0 comments on commit a95c77e

Please # to comment.