Close a process

Post Reply
User avatar
cogier
Site Admin
Posts: 110
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Close a process

Post by cogier » Monday 28th November 2016 12:52pm

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.

User avatar
gbWilly
Posts: 8
Joined: Friday 23rd September 2016 11:41am

Re: Close a process

Post by gbWilly » Saturday 10th December 2016 12:57pm

I thought you close a Process with Close.
Never heard of CloseInput, must be new.

User avatar
Got2BeFree
Posts: 15
Joined: Saturday 26th November 2016 2:52am

Re: Close a process

Post by Got2BeFree » Monday 26th December 2016 3:48am

From my understanding, 'Close' only closes the stream, not the process. To end a process use "Try hProcess.Kill".
I'm wondering around lost in the future, not knowing where the present is, not knowing where the past disappeared to...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest