Skip to content

Commit ca3cced

Browse files
committedFeb 18, 2016
test/ctlmgr: escape backslashes in sys.executable
1 parent 4940e48 commit ca3cced

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎artiq/test/test_ctlmgr.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ def test_start_ping_stop_controller(self):
6060
"type": "controller",
6161
"host": "::1",
6262
"port": 3253,
63-
"command": sys.executable + " -m artiq.frontend.lda_controller "
64-
"-p {port} --simulation"
63+
"command": (sys.executable.replace("\\", "\\\\")
64+
+ " -m artiq.frontend.lda_controller "
65+
+ "-p {port} --simulation")
6566
}
6667
async def test():
6768
await self.start("lda_sim", entry)

0 commit comments

Comments
 (0)
Please sign in to comment.