Page 1 of 1

Close a process

Posted: Monday 28th November 2016 12:52pm
by cogier
What is the correct way to close a process in Gambas 3.9.1? The 'help' says you must use the 'CloseInput' method but whatever way I try this it fails and your are left with a process that's unusable requiring a reboot.

Re: Close a process

Posted: Saturday 10th December 2016 12:57pm
by gbWilly
I thought you close a Process with Close.
Never heard of CloseInput, must be new.

Re: Close a process

Posted: Monday 26th December 2016 3:48am
by Got2BeFree
From my understanding, 'Close' only closes the stream, not the process. To end a process use "Try hProcess.Kill".