Skip to content

Commit 44a94c0

Browse files
test: fix process stopping in PyCS #1
1 parent 971bfe5 commit 44a94c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PyCS.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void InstallPip()
180180
run0.UseShellExecute = false;
181181
run0.RedirectStandardOutput = true;
182182
run0.CreateNoWindow = true;
183-
using (Process process = Process.Start(run0))
183+
using (process = Process.Start(run0))
184184
{
185185
using (StreamReader reader = process.StandardOutput)
186186
{
@@ -219,7 +219,7 @@ public void Pip(string[] args)
219219
run0.UseShellExecute = false;
220220
run0.RedirectStandardOutput = true;
221221
run0.CreateNoWindow = console;
222-
using (Process process = Process.Start(run0))
222+
using (process = Process.Start(run0))
223223
{
224224
using (StreamReader reader = process.StandardOutput)
225225
{
@@ -240,7 +240,7 @@ public void PipUpgrade(string[] args)
240240
run0.UseShellExecute = false;
241241
run0.RedirectStandardOutput = true;
242242
run0.CreateNoWindow = console;
243-
using (Process process = Process.Start(run0))
243+
using (process = Process.Start(run0))
244244
{
245245
using (StreamReader reader = process.StandardOutput)
246246
{
@@ -261,7 +261,7 @@ public void PipLocal(string[] args)
261261
run0.UseShellExecute = false;
262262
run0.RedirectStandardOutput = true;
263263
run0.CreateNoWindow = console;
264-
using (Process process = Process.Start(run0))
264+
using (process = Process.Start(run0))
265265
{
266266
using (StreamReader reader = process.StandardOutput)
267267
{

0 commit comments

Comments
 (0)