mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-10-23 15:03:04 +00:00
fix path under windows
This commit is contained in:
1 parent
11c102715e
commit
e72f8b8d4e
1 file changed
+2
-1
@@ -85,10 +85,11 @@ class BaseCLIUnit:
|
||||
raise NotImplementedError("Please implement this")
|
||||
|
||||
@staticmethod
|
||||
def sub_process(cmd, cwd=os.path.abspath("/bin/"), ):
|
||||
def sub_process(cmd, cwd=os.path.abspath("bin/"), ):
|
||||
class ShadowProcess:
|
||||
def __init__(self):
|
||||
self.time_start = timeit.default_timer()
|
||||
print(cwd + "/" + cmd)
|
||||
self._process = subprocess.Popen(
|
||||
cmd, cwd=cwd, shell=True, stderr=subprocess.PIPE, stdout=subprocess.PIPE
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user