Neon: Incorrect order of console output for a compiled program [message #1732899] |
Sun, 22 May 2016 13:10 |
Eugene K Messages: 11 Registered: February 2010 |
Junior Member |
|
|
Hello,
I see the difference in the behavior between all previous versions of Eclipse/CDT and the latest Neon build.
I have program which prints output to STDIO, and runs two batch files as system call and as CreateProcess. When program runs in previous versions of Eclipse or with the test batch file output is correct.
Before Neon or standalone:
"!!INLINE CALL!!"
!!!Hello World!!!
piProcInfo.hProcess=284
"!!DETACHED CALL!!"
When program runs in Neon then output order is incorrect.
With Neon:
"!!INLINE CALL!!"
!!!Hello World!!!
piProcInfo.hProcess=284
As you can see here the out put from the batch file started with CreateProcess is not even there.
I have attached test project which shows this behavior. Tested with Mars and Neon. There is test.bat file which tests executable without Eclipse.
I have entered the bug 494244 https://bugs.eclipse.org/bugs/show_bug.cgi?id=494244
Eugene
[Updated on: Sun, 22 May 2016 06:14] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01925 seconds