mirror of https://github.com/m-labs/artiq.git
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",
|
||||
"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)
|
||||
|
|
Loading…
Reference in New Issue