mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
fix broken part of windows
This commit is contained in:
parent
6e1c506fc5
commit
3f402b46b7
|
|
@ -232,8 +232,8 @@ int cmd_run_star(int argc,char **argv,struct sub_command* cmd)
|
|||
}
|
||||
s(opts);
|
||||
#ifdef _WIN32
|
||||
cmd=q("");
|
||||
for(i=1;arg[i]!=NULL;++i) {
|
||||
cmd=q(arg[wrap?0:1]);
|
||||
for(i=wrap?1:2;arg[i]!=NULL;++i) {
|
||||
cmd=s_cat(cmd,q(" "),q("\""),escape_string(arg[i]),q("\""),NULL);
|
||||
}
|
||||
SetConsoleCtrlHandler(ConsoleCtrlHandler, TRUE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue