Close a process

Post

Posted
Rating:
#1 (In Topic #103)
Avatar
Guru
cogier is in the usergroup ‘Guru’
 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.
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’
 I thought you close a Process with Close.
Never heard of CloseInput, must be new.

gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Administrator
sholzy is in the usergroup ‘unknown’
 From my understanding, 'Close' only closes the stream, not the process. To end a process use "Try hProcess.Kill".

sholzy
Gambas One Site Director

To report bugs in the Gambas IDE:
Official Gambas Bug Tracker
Online now: No Back to the top
1 guest and 0 members have just viewed this.