Close a process
- cogier
- Site Admin
- Posts: 1125
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Close a process
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
I thought you close a Process with Close.
Never heard of CloseInput, must be new.
Never heard of CloseInput, must be new.
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributer
... there is always a Catch if things go wrong!
- Dutch translation for Gambas3
- Gambas wiki content contributer
... there is always a Catch if things go wrong!
- Got2BeFree
- Posts: 92
- Joined: Saturday 26th November 2016 2:52am
- Location: Lost
Re: Close a process
From my understanding, 'Close' only closes the stream, not the process. To end a process use "Try hProcess.Kill".
sholzy
I'm wondering around lost in the past, not knowing where the present is.
I'm wondering around lost in the past, not knowing where the present is.