Commit c536de75 authored by Nicolas Delaby's avatar Nicolas Delaby

Avoid usage of shell == True.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42064 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e9c1138
......@@ -58,10 +58,7 @@ class Xvfb(Application):
self.command = ["Xvfb", "-ac", ":%s" % self.display_id, \
"-screen", self.virtual_screen, "800x600x16", \
"-fbdir", self.path_run_dir]
self.process = Popen(" ".join(self.command),
stdout=PIPE,
shell=True,
close_fds=True)
self.process = Popen(self.command, close_fds=True)
waitStartDaemon(self, self.timeout)
Application.start(self)
logger.debug("Xvfb pid - %s" % self.pid())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment