fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Howto force DOS window to stay open - Programmer

This is a discussion on Howto force DOS window to stay open - Programmer ; Hi, I am porting an application to run on windows using C and GTK. The application was originally written to run on unix. During the startup sequence, the app. outputs some information to the shell. Currently, I can see a ...


Fix Unix > Microsoft Windows > Programmer > Howto force DOS window to stay open

Reply
 
LinkBack Tools
  #1  
Old 10-04-2007, 05:55 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Howto force DOS window to stay open

Hi,

I am porting an application to run on windows using C and GTK. The
application was originally written to run on unix. During the startup
sequence, the app. outputs some information to the shell. Currently, I
can see a DOS window flash on the screen before the app opens. But the
DOS window will not stay open. I'd like to see the contents of the DOS
window, so I'd like for the DOS window to remain open while my
application is running. Is there a way to do this? I am running on
windows 2000, if it makes any difference.

Thanks
Ken

Reply With Quote
  #2  
Old 10-04-2007, 05:55 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Howto force DOS window to stay open

donotemailme@ekkinc.com wrote:

> DOS window will not stay open. I'd like to see the contents of
> the DOS window, so I'd like for the DOS window to remain open
> while my application is running. Is there a way to do this?


Run the application using cmd.exe using the /K option.

cmd.exe /k my_application.exe

Jussi Jumppanen
Author of: Zeus for Windows (New version 3.93 out now)
"The C/C++, Cobol, Java, HTML, Python, PHP, Perl programmer's editor"
Home Page: http://www.zeusedit.com
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto force Squid to log to a pipe unix squid 0 01-25-2008 09:06 AM
How to open new tab but stay where you are ? unix Mozilla 14 12-10-2007 04:33 PM
Re: Could someone force the rebuild of securing-debian-howto on master? unix Debian 0 10-06-2007 05:19 PM
Could someone force the rebuild of securing-debian-howto on master? unix Debian 3 10-06-2007 05:19 PM
Compose window won't stay maximized unix Mozilla 10 08-07-2006 12:35 AM


All times are GMT. The time now is 10:05 AM.