Commit 566b5970 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič
Browse files

Fix Popen invocation

parent 058a046d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -6,16 +6,16 @@ import configparser


def prime_stages():
    subprocess.Popen('./servo_control', '1', '1')
    subprocess.Popen('./servo_control', '7', '1')
    subprocess.Popen(['./servo_control', '1', '1'])
    subprocess.Popen(['./servo_control', '7', '1'])


def separate_stage_one():
    subprocess.Popen('./servo_control', '1', '0')
    subprocess.Popen(['./servo_control', '1', '0'])


def separate_stage_two():
    subprocess.Popen('./servo_control', '7', '0')
    subprocess.Popen(['./servo_control', '7', '0'])


def main():