fixed bug #1509909 - !system & !packhdr fail with quotes

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4711 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2006-07-30 10:29:23 +00:00
parent e4432fd8e1
commit b15cf04ef2
4 changed files with 31 additions and 2 deletions

View file

@ -2790,7 +2790,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
if (!success && comp != 4) PRINTHELP()
SCRIPT_MSG("!system: \"%s\"\n",exec);
#ifdef _WIN32
int ret=system(exec);
int ret=sane_system(exec);
#else
char *execfixed = my_convert(exec);
int ret=system(execfixed);