Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find running applications under Mac OS
Message
From
03/09/2019 06:28:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/09/2019 19:38:11
General information
Forum:
Go
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01670494
Message ID:
01670526
Views:
40
>>Thanks but I already said I can get all the processes. If you know which keyword and\or flag I should use to get applications from ps then that is fine.
>
>One of the links I provided for you explains which flags to look for. Using the ps command allows for those flags to be conveyed on each process line, which can then be parsed so only the subset you seek is there.
>
>I do not have a Mac machine to code or test it for you or I would.
>
>>PS: I can get them using an applescript, I would prefer doing programmatically instead if I can rather than parsing output of a shell command.

Which link is that. I think I have already read what is in those links + the ps man page included in Mac, still cannot figure how.

PS: Currently I can get what I want with an apple script, instead of ps. I would like to have a way doing all these programmatically (I can use "ps" without actually using shell ps BTW via low level libraries) but anyway, looks like I will live with calling and parsing applescript output.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform