mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 02:09:52 +00:00
64bit support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10334 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d20cb9b1d1
commit
6c3692acf6
@ -301,7 +301,7 @@ static int run_shell_cmd(menu_t* menu, char* cmd) {
|
||||
dup2(in[0],0);
|
||||
dup2(out[1],1);
|
||||
dup2(err[1],2);
|
||||
execl("/bin/sh","sh","-c",cmd,NULL);
|
||||
execl("/bin/sh","sh","-c",cmd,(void*)NULL);
|
||||
fprintf(errf,"exec failed : %s\n",strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user