This is true.... If you want to use TestStand the window will be around until the sequence editor or RTOI is closed. If a log is necessary of printf statements I would suggest using fprintf and at the end of your program use LaunchExecutable to fire up notepad with the file you wrote to.
I just don't know of any way to keep that stdio window around after the process dies. The other option is to create a loop in which you process system events until it is deemed necessary to end the process.
For example:
void main(void)
{
int i, visible = 11;
printf("ffdfdfd");
while(visible)
{
ProcessSystemEvents();
GetStdioWindowVisibility (&visible);
Delay(1);
}
}
This will loop until you minim
ize the window. You could also process keyboard input for lets say a "Q" to be pressed.
Good Luck!