Ecere SDK/eC Forums https://ec-lang.org/community/ Print view |
|
ecere中采用system,Execute,ShellOpen执行DOS命令有黑色dos窗口闪现 https://ec-lang.org/community/viewtopic.php?f=30&t=348 |
Page 1 of 1 |
Author: | janksenhu [ Mon Feb 25, 2013 8:43 am ] |
Post subject: | ecere中采用system,Execute,ShellOpen执行DOS命令有黑色dos窗口闪现 |
ecere中采用system,Execute,ShellOpen执行DOS命令有黑色dos窗口闪现,这个体验太不好了! 有其他的执行方式吗?没有Dos窗口闪现,同时DOS命令阻塞执行? |
Author: | jerome [ Mon Feb 25, 2013 2:05 pm ] |
Post subject: | Re: ecere中采用system,Execute,ShellOpen执行DOS命令有黑色dos窗口闪现 |
Hi janksen, hi janksen, If you use DualPipe, do you still get a command prompt window showing up? Code: Select all
If you still get a command prompt box, try { output = true, input = true, error = true } Regards, Jerome |
Author: | janksenhu [ Tue Mar 12, 2013 1:51 am ] |
Post subject: | Re: ecere中采用system,Execute,ShellOpen执行DOS命令有黑色dos窗口闪现 |
编译之后,运行卡死了!代码如下,不知道为什么! DualPipe output = DualPipeOpen({ output = true }, "adb"); if(output) { int exitCode; //TempFile fileInput { }; // SetFileInput(fileInput); while(!output.Eof()) { //char junk[4096]; // int count = output.Read(junk, 1, 4096); //fileInput.Write(junk, 1, count); } exitCode = output.GetExitCode(); delete output; } |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |