Skip to content

Commit 9b92079

Browse files
committed
add DEVNULL for windows compat
1 parent f952b3e commit 9b92079

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cwltool/singularity.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
TimeoutExpired)
1919
else:
2020
from subprocess import (check_call, check_output, # type: ignore
21-
CalledProcessError, DEVNULL, PIPE, Popen,
21+
CalledProcessError, PIPE, Popen,
2222
TimeoutExpired)
23+
DEVNULL = None
2324

2425
_logger = logging.getLogger("cwltool")
2526
_USERNS = None

0 commit comments

Comments
 (0)