[Gambas-user] R: Process in TableVew and to Kill a Process - RECTIUS
Emil Lenngren
emil.lenngren at ...626...
Thu Mar 1 00:54:33 CET 2012
Try this: Exec("killall program_name")
2012/3/1 abbat <abbat.81 at ...787...>
>
> It works only if I use Button1 (If we execute an app ourselves).
> But how to kill process if we know only Name?
> Thanks
>
>
> Vuott wrote:
> >
> > ' Gambas class file
> >
> > Private hpro As Process
> >
> >
> > Public Sub Button1_Click()
> >
> > ' An application start, i.e. “ Gedit “
> > hpro = Exec ["gedit"] As "hpro"
> >
> > End
> >
> >
> > Public Sub button2_Click()
> >
> > ' it closes application process
> > hpro.kill
> >
> > End
> >
> >
> > ' this event is raised, when process is closed:
> > Public Sub hpro_Kill()
> >
> > Print "Process closed !"
> >
> > End
> >
> >
> >
> ------------------------------------------------------------------------------
> > Virtualization & Cloud Management Using Capacity Planning
> > Cloud computing makes use of virtualization - but cloud computing
> > also focuses on allowing computing to be delivered as a service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417896.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list