|
Re: Re: Executing an external program: msg#00081lang.smalltalk.squeak.beginners
> So on, Windows, it is best to use FFI (but I don't think > you can have a blocking mode with this). > You can check if a process has exited using FFI on Windows. First use the kernel32 api CreateProcess to launch the process and retrieve its handle. The repeatedly call GetExitCodeProcess to find out whether the process has exited. Short sample attached. fileIn and evaluate (WinProcess runNotepadAndInformWhenDone) to try it out.
Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Executing an external program, David T. Lewis |
|---|---|
| Next by Date: | What's up with the Summer of Squeak projects?, Giovanni Corriga |
| Previous by Thread: | Re: Re: Executing an external program, David T. Lewis |
| Next by Thread: | What's up with the Summer of Squeak projects?, Giovanni Corriga |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |