forked from M-Labs/artiq
test/ctlmgr: escape backslashes in sys.executable
This commit is contained in:
parent
4940e48d85
commit
ca3cced0b4
|
@ -60,8 +60,9 @@ class ControllerCase(unittest.TestCase):
|
||||||
"type": "controller",
|
"type": "controller",
|
||||||
"host": "::1",
|
"host": "::1",
|
||||||
"port": 3253,
|
"port": 3253,
|
||||||
"command": sys.executable + " -m artiq.frontend.lda_controller "
|
"command": (sys.executable.replace("\\", "\\\\")
|
||||||
"-p {port} --simulation"
|
+ " -m artiq.frontend.lda_controller "
|
||||||
|
+ "-p {port} --simulation")
|
||||||
}
|
}
|
||||||
async def test():
|
async def test():
|
||||||
await self.start("lda_sim", entry)
|
await self.start("lda_sim", entry)
|
||||||
|
|
Loading…
Reference in New Issue