Skip to content

Commit 8e30ab0

Browse files
author
Sylvain MARIE
committed
Latest version of nox_utils
1 parent ac7f3c3 commit 8e30ab0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci_tools/nox_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import logging
33
import os
44
import re
5+
from shlex import split
56
import shutil
67
import subprocess
78
import sys
@@ -130,7 +131,7 @@ def run2(self, command: Union[Iterable[str], str], logfile: Union[bool, str, Pat
130131
:return:
131132
"""
132133
if isinstance(command, str):
133-
command = command.split(" ")
134+
command = split(command)
134135

135136
self.run(*command, logfile=logfile, **kwargs)
136137

0 commit comments

Comments
 (0)