cr_cronet.py: Replace most os.system uses with subprocess.call
os.system passes the command line to a shell to execute, which requires careful quoting/escaping (which the script was not doing). subprocess.call executes the target directly and arguments are not processed by the shell. iossim has one argument that is itself a list of arguments to pass to its child process, so extra care is taken in escaping that argument. Change-Id: I6785c83d732dc1fe6a874598f13cb4e47eaa35e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1577877Reviewed-by:Misha Efimov <mef@chromium.org> Commit-Queue: Matt Mueller <mattm@chromium.org> Cr-Commit-Position: refs/heads/master@{#653335}
Showing
Please register or sign in to comment