Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. piedycat

    exec in background

    OS Win2000 Tcl/tk 8.4.3 How do I find out if a process which is running in the background which was launched by: exec $process & has finished so I can display a "process finished " dialogue? Thanks in advance Mark
  2. piedycat

    how to get input into console application

    Jicote, Thanks for your suggestion but I cannot get it to work for me. I have a test console application which prints something, waitts for a carrage return then prints something else. Sure it waits for the input but nothing happens when I input anything in the text widget, or am I missing...
  3. piedycat

    how to get input into console application

    OS win98 Hi, i've got an console application launcher (below) which redirects the dos box output into a text window, this is fine if no input is required from the user but how do I get keyboard input into the application if it requires it? TIA Mark TCL code follows: # console show button...
  4. piedycat

    capturing input from stdin

    Win98 tcl 8.3.4 I have a script which will launch a console exe file and capture the output into a text widget using the procedures below. This is fine if the application needs no input from the user via keyboard, but how do i get the application to wait for input if required, and get it? I do...
  5. piedycat

    captue win32 console application output

    Ken Thanks very much, yes it was output buffering which was causing the problems. Adding fflush(stdout) after each printf in the original C source sorted it out. The original was not a true dos executable but a win32 console application.Is there anyway of turning stdout buffering off ? for...
  6. piedycat

    captue win32 console application output

    Thanks for the suggestion but until the dosexecutable finishes it hangs then spits all the output in 1 go, what i want is it to spit each line that the dosexecutable writes out as it happens. It does have the advantage of not having to write an intermediate file though. Any further suggestions...
  7. piedycat

    captue win32 console application output

    OS win98 I want to capture the output to a DOS box as it happens. I launch the app using exec and can redirect the output to a file ( exec app.exe > out.txt & ) once this file is written & closed I can open it and display the contents, but how can I just capture a line at a time from the DOS box...

Part and Inventory Search

Back
Top