diff --git a/dcm2bids/utils.py b/dcm2bids/utils.py index e136b8c2..07b41e50 100644 --- a/dcm2bids/utils.py +++ b/dcm2bids/utils.py @@ -109,4 +109,4 @@ def run_shell_command(commandLine): """ logger = logging.getLogger(__name__) logger.info("Running %s", commandLine) - return check_output(shlex.split(commandLine)) + return check_output(shlex.split(commandLine, posix=False))