Skip to content

Commit

Permalink
test/ctlmgr: escape backslashes in sys.executable
Browse files Browse the repository at this point in the history
sbourdeauducq committed Feb 18, 2016
1 parent 4940e48 commit ca3cced
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions artiq/test/test_ctlmgr.py
Original file line number Diff line number Diff line change
@@ -60,8 +60,9 @@ def test_start_ping_stop_controller(self):
"type": "controller",
"host": "::1",
"port": 3253,
"command": sys.executable + " -m artiq.frontend.lda_controller "
"-p {port} --simulation"
"command": (sys.executable.replace("\\", "\\\\")
+ " -m artiq.frontend.lda_controller "
+ "-p {port} --simulation")
}
async def test():
await self.start("lda_sim", entry)

0 comments on commit ca3cced

Please sign in to comment.