From ae074a2954fe5bb98a3d029e82690fa569470414 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Mon, 5 Oct 2009 16:00:59 +0000 Subject: Correct some powershell problems for Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821887 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/run_test.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/src/tests/run_test.ps1') diff --git a/cpp/src/tests/run_test.ps1 b/cpp/src/tests/run_test.ps1 index ebbef07f1d..551368bc9b 100644 --- a/cpp/src/tests/run_test.ps1 +++ b/cpp/src/tests/run_test.ps1 @@ -52,7 +52,6 @@ if (Test-Path qpidd.port) { set-item -path env:QPID_PORT -value (get-content -path qpidd.port -totalcount 1) } -#$p = new-object System.Diagnostics.Process $si = new-object System.Diagnostics.ProcessStartInfo $si.WorkingDirectory = $pwd $si.UseShellExecute = $true @@ -67,6 +66,6 @@ else { $si.Arguments = $args[1..$args.length-1] } } -$p = [diagnostics.process]::Start($si) +$p = [System.Diagnostics.Process]::Start($si) $p.WaitForExit() exit $? -- cgit v1.2.1