Test: Quote our Python executable.

Change-Id: Ica80406d6420b9f97792a19b192f8a7d764e673b
Reviewed-on: https://code.wireshark.org/review/27185
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2018-04-27 15:47:09 -07:00
parent 50061856dd
commit f5a7ddf8aa
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def cat_dhcp_command(mode):
# XXX Do this in Python in a thread?
sd_cmd = ''
if sys.executable:
sd_cmd = sys.executable + ' '
sd_cmd = '"{}" '.format(sys.executable)
sd_cmd += os.path.join(config.this_dir, 'util_dump_dhcp_pcap.py ' + mode)
return sd_cmd