Re: [orca-list] How to tell if Orca is running?



Thanks, Julien.
I'm sure that would work (assuming that I am always looking for the string "orca") but it seems a bit heavyweight to list all processes whenever anyone types an arrow key in a table.
I was hoping that there would be a system flag somewhere.

Joanie? Do you set/clear a flag somewhere to say "there's an AT running"? Sort of like the Mac and Windows examples I sent?

Thanks,
Carolyn


From: Julien Claassen <julien mail upb de>
To: Carolyn MacLeod/Ottawa/IBM IBMCA,
Cc: orca-list gnome org
Date: 04/19/2013 04:50 PM
Subject: Re: [orca-list] How to tell if Orca is running?





Hello Carolyn!
  I've never done that in code myself, but you could do it the easy way,
executing "ps -ax". ps relies onthe /proc filesystem, which is present on all
Linux systems. There are some functions to use the information presented
through /proc. I believe it's part of glibc.
  I hope this helps.
  Warm regards
        Julien

----------------------------------------
http://juliencoder.de/nama/music.html





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]