mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
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
This commit is contained in:
parent
bf21c2f64e
commit
fbde653a0c
1 changed files with 1 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue