[GnuWin32-Users] [gnuwin32 - Help] A problem about Call gzip by CreateProcess(.)
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
From: SourceForge.net <no...@so...> - 2006-08-30 12:32:26
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3890961 By: nobody The code: strcpy( szCommand, "gunzip -ac D:\\test.txt.gz > D:\\test.txt" ); BOOL bRes = CreateProcess( NULL, szCommand, NULL, NULL, TRUE, //DETACHED_PROCESS, NORMAL_PRIORITY_CLASS,//REALTIME_PRIORITY_CLASS, NULL, NULL, &si, &pi ); Why I had not got any change? the test.txt had not been created. But if I execute this commandLine in cmd.exe, the test.txt can be created. could you tell me why? Or, any advice can be appreciated! gfzhang gf...@gm... ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=74807 |