update launch
fix default working dir when launching runtimes
completion can crash for malformed input