Permalink
Browse files

Bug 733134: Fix integration script on windows.

  • Loading branch information...
1 parent f9a8d1f commit cdbc0baa3dbeab38e6d9c257d3fd581f8e7e5910 @ochameau ochameau committed Jul 16, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 bin/integration-scripts/integration-check
@@ -1,8 +1,8 @@
#!/usr/bin/env python
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
import os
import signal
import threading
@@ -260,7 +260,7 @@ class SDK:
# Subprocess call to test the sample example for packaging.
if self.bin!=None:
if self.mswindows:
- p = subprocess.Popen('bin\\activate && cfx run --pkgdir examples\\reading-data --static-args="{\"quitWhenDone\":true}" -b \"" + self.bin + "\"' , stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
+ p = subprocess.Popen('bin\\activate && cfx run --pkgdir examples\\reading-data --static-args="{\\"quitWhenDone\\":true}" -b \"" + self.bin + "\"' , stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
proc_handle = p._handle
(stdout, stderr) = p.communicate()
else:
@@ -269,7 +269,7 @@ class SDK:
(stdout, stderr) = p.communicate()
elif self.bin==None:
if self.mswindows:
- p = subprocess.Popen('bin\\activate && cfx run --pkgdir examples\\reading-data --static-args="{\"quitWhenDone\":true}"', stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
+ p = subprocess.Popen('bin\\activate && cfx run --pkgdir examples\\reading-data --static-args="{\\"quitWhenDone\\":true}"', stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
proc_handle = p._handle
(stdout, stderr) = p.communicate()
else:

0 comments on commit cdbc0ba

Please sign in to comment.