mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Protect against autorun commands on Windows. No status line needed as this
is an addendum to r39514. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39552 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4df078c262
commit
e5ed5575e7
@ -859,7 +859,7 @@ cmd_ret const runCommand(string const & cmd)
|
||||
command = rtrim(command, "2>&1");
|
||||
err2out = true;
|
||||
}
|
||||
string const cmdarg = "/c " + command;
|
||||
string const cmdarg = "/d /c " + command;
|
||||
string const comspec = getEnv("COMSPEC");
|
||||
|
||||
security.nLength = sizeof(SECURITY_ATTRIBUTES);
|
||||
|
Loading…
Reference in New Issue
Block a user