verity_signer can reach the metadata generator with arguments,
which weren't being accounted for when popen'ing the subprocess.
Split the already-existing command string instead of re-generating
the list.
Ref CYNGNOS-3156
Change-Id: Ib8be4312d8e53f00f7378d2eb470de70e8a0495f
table_file.flush()
cmd = " ".join((signer_path, table_file.name, key_path, signature_file.name))
print cmd
- runcmd = [signer_path, table_file.name, key_path, signature_file.name];
+ runcmd = cmd.split()
sp = subprocess.Popen(runcmd)
sp.wait()
return signature_file.read()