Skip to content
Browse files

Using subprocess on cygwin.

  • Loading branch information...
1 parent d42c031 commit 0f2ec742b3f93036324be5f6a3790b9c7d62b6ea @mikeal mikeal committed Aug 19, 2009
Showing with 15 additions and 6 deletions.
  1. +5 −2 contrib/bin_wrapper.py
  2. +5 −2 contrib/clean_run.py
  3. +5 −2 scripts/clean_run.py
View
7 contrib/bin_wrapper.py
@@ -49,8 +49,11 @@
from datetime import datetime
from datetime import timedelta
-from windmill.dep import mozrunner
-killableprocess = mozrunner.killableprocess
+if sys.platform != 'cygwin':
+ from windmill.dep import mozrunner
+ killableprocess = mozrunner.killableprocess
+else:
+ import subprocess as killableprocess
logger = logging.getLogger(__name__)
View
7 contrib/clean_run.py
@@ -53,8 +53,11 @@
logger = logging.getLogger(__name__)
-from windmill.dep import mozrunner
-killableprocess = mozrunner.killableprocess
+if sys.platform != 'cygwin':
+ from windmill.dep import mozrunner
+ killableprocess = mozrunner.killableprocess
+else:
+ import subprocess as killableprocess
stdout_wrap = StringIO()
View
7 scripts/clean_run.py
@@ -51,8 +51,11 @@
from datetime import datetime
from datetime import timedelta
-from windmill.dep import mozrunner
-killableprocess = mozrunner.killableprocess
+if sys.platform != 'cygwin':
+ from windmill.dep import mozrunner
+ killableprocess = mozrunner.killableprocess
+else:
+ import subprocess as killableprocess
logger = logging.getLogger(__name__)

0 comments on commit 0f2ec74

Please sign in to comment.
Something went wrong with that request. Please try again.