diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2022-12-28 15:41:46 +0000 |
|---|---|---|
| committer | Chris Denton <christophersdenton@gmail.com> | 2022-12-28 15:41:46 +0000 |
| commit | 874cefad9bd636671c87336ad470958c9ad26a43 (patch) | |
| tree | 6d11fdbe2704a8e6875a355e92c1088eef9ddebf /x.ps1 | |
| parent | 6a20f7df5755d8c6b68110d2d0391a7b03268e77 (diff) | |
| download | rust-874cefad9bd636671c87336ad470958c9ad26a43.tar.gz rust-874cefad9bd636671c87336ad470958c9ad26a43.zip | |
Powershell: Use `WaitForExit` instead of `-Wait`
Diffstat (limited to 'x.ps1')
| -rwxr-xr-x | x.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x.ps1 b/x.ps1 index 81b98919f43..8f2d724a8d0 100755 --- a/x.ps1 +++ b/x.ps1 @@ -23,7 +23,8 @@ foreach ($python in "py", "python3", "python", "python2") { # Use python3, not python2 $xpy_args = @("-3") + $xpy_args } - $process = Start-Process -NoNewWindow -Wait -PassThru $python $xpy_args + $process = Start-Process -NoNewWindow -PassThru $python $xpy_args + $process.WaitForExit() Exit $process.ExitCode } } |
