Skip to content
Snippets Groups Projects
Commit fbde653a authored by Thibault Saunier's avatar Thibault Saunier
Browse files

validate: launcher: Fix the way we retrieve command name

We are now using a list of args for subprocess so just using it is simple now
parent bf21c2f6
No related branches found
No related tags found
Loading
......@@ -236,8 +236,7 @@ class Test(Loggable):
# and wait here until gdb exits
self.process.communicate()
else:
pname = subprocess.check_output(("readlink -e /proc/%s/exe"
% self.process.pid)).decode().split(' ').replace('\n', '')
pname = self.command[0]
input("%sTimeout happened you can attach gdb doing: $gdb %s %d%s\n"
"Press enter to continue" % (Colors.FAIL, pname, self.process.pid,
Colors.ENDC))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment