Skip to content

Commit 8e30c7a

Browse files
committed
restore extra check for subprocess32 import
1 parent 98e8b90 commit 8e30c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/singularity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .pathmapper import PathMapper, ensure_writable
1313
from .process import (UnsupportedRequirement)
1414
from .utils import docker_windows_path_adjust
15-
if sys.version_info[0] < 3:
15+
if os.name == 'posix' and sys.version_info[0] < 3:
1616
import subprocess32 as subprocess
1717
else:
1818
import subprocess # type: ignore

0 commit comments

Comments
 (0)