# HG changeset patch # User Herman Bloggs # Date 1043790464 0 # Node ID 78a2d2e7f4b5c8f4b42d620ce2d8e9c839632fb1 # Parent 2afc0f845e74af908786ef0a993b4b0c7b6596b8 [gaim-migrate @ 4728] Patch from phrogie - enable pounce command exec committer: Tailor Script diff -r 2afc0f845e74 -r 78a2d2e7f4b5 src/buddy.c --- 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) {