def cmd():
if platform == '<STR_LIT>':<EOL><INDENT>return ['<STR_LIT>', '<STR_LIT>']<EOL><DEDENT>elif platform == '<STR_LIT>':<EOL><INDENT>ppid = os.getppid()<EOL>ppid_cmdline_file = '<STR_LIT>'.format(ppid)<EOL>try:<EOL><INDENT>with open(ppid_cmdline_file) as f:<EOL><INDENT>cmd = f.read()<EOL><DEDENT>if cmd.endswith('<STR_LIT:\x00>'):<EOL><INDENT>cmd = cmd[:-<NUM_LIT:1>]<EOL><DEDENT>cmd = cmd.split('<STR_LIT:\x00>')<EOL>return cmd + [binpath('<STR_LIT>')]<EOL><DEDENT>except:<EOL><INDENT>cmd = '<STR_LIT>'<EOL><DEDENT><DEDENT>else:<EOL><INDENT>cmd = '<STR_LIT>'<EOL><DEDENT>return [cmd, binpath('<STR_LIT>')]<EOL>
Return a command to launch a subshell