Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Stefano Palmeri
Maybe your machine is faster than mine and pgrep is able to catch sh -c pgrep. Yes, using EXEC is better. Stefano > On Wed, Apr 22, 2009 at 14:47, Siti Fatimah wrote: > > Thank's Stefano ..for ur quick response. It really worked.... > > > > Best Regards, >

Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Jussi Lahtinen
t;, Application.Args[0]] Wait To sShellOutput So, just to warn, and thanks for idea! Jussi On Wed, Apr 22, 2009 at 14:47, Siti Fatimah wrote: > Thank's Stefano ..for ur quick response. It really worked > > Best Regards, > sfatimah > > --- Pada Rab, 22/4/09, Stefano Pal

Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Siti Fatimah
Thank's Stefano ..for ur quick response. It really worked   Best Regards, sfatimah --- Pada Rab, 22/4/09, Stefano Palmeri menulis: Dari: Stefano Palmeri Topik: Re: [Gambas-user] How prevent application from opening twice Kepada: "mailing list for gambas users" Tanggal:

Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Stefano Palmeri
Il mercoledì 22 aprile 2009 13:11:59 Siti Fatimah ha scritto: > Hi all, > I need to prevent my program from opening twice. Is there a  best method to > determine whether a program has already run ? > > Thanks. > sfatimah > I use this: DIM sShellOutput as String SHELL "pgrep -f -U " & User.Name &

[Gambas-user] How prevent application from opening twice

2009-04-22 Thread Siti Fatimah
Hi all, I need to prevent my program from opening twice. Is there a  best method to determine whether a program has already run ? Thanks. sfatimah Berselancar lebih cepat. Internet Explorer 8 yang dioptimalkan untuk Yahoo! otomatis membuka 2 halaman favorit Anda setiap kali Anda membuka