Mercurial > pidgin
changeset 4453:78a2d2e7f4b5
[gaim-migrate @ 4728]
Patch from phrogie - enable pounce command exec
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Tue, 28 Jan 2003 21:47:44 +0000 |
parents | 2afc0f845e74 |
children | 5e006bb90238 |
files | src/buddy.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Tue Jan 28 21:42:44 2003 +0000 +++ b/src/buddy.c Tue Jan 28 21:47:44 2003 +0000 @@ -1444,6 +1444,17 @@ execvp(args[0], args); _exit(0); } +#else + STARTUPINFO si; + PROCESS_INFORMATION pi; + + ZeroMemory( &si, sizeof(si) ); + si.cb = sizeof(si); + ZeroMemory( &pi, sizeof(pi) ); + + CreateProcess( NULL, b->command, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ); + CloseHandle( pi.hProcess ); + CloseHandle( pi.hThread ); #endif /*_WIN32*/ } if (b->options & OPT_POUNCE_SOUND) {