Python Forum
Opening and closing Mac applications and files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opening and closing Mac applications and files
#6
To close app from terminal in MacOS one can use AppleScript or pkill:

osascript -e 'quit app "Calendar"'

pkill -x Calendar
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
RE: Opening and closing Mac applications and files - by perfringo - Sep-05-2020, 04:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Phyton Opening files on windows C: pc EddieG 3 1,096 Mar-29-2023, 03:19 PM
Last Post: buran
  opening files and output of parsing leodavinci1990 4 2,667 Oct-12-2020, 06:52 AM
Last Post: bowlofred
  Closing Files - CSV Reader/Writer lummers 2 2,719 May-28-2020, 06:36 AM
Last Post: Knight18
  Internationalization of applications ? JohnnyCoffee 1 1,825 Apr-17-2020, 09:39 PM
Last Post: Larz60+
  How To Find an Opening and Closing String, Copying Open/Close/Contents to New File davidshq 1 2,098 Mar-03-2020, 04:47 AM
Last Post: davidshq
  PYHTON not opening files profficial 11 13,987 Feb-15-2020, 09:06 AM
Last Post: bharathendra
  Automating Windows GUI applications metro17 4 12,478 Feb-10-2020, 09:46 AM
Last Post: metro17
  Handling Thick client applications using Python PraveenSubramaniyan 1 3,342 Jul-22-2019, 01:08 PM
Last Post: DeaD_EyE
  opening a file from a windows desktop folder- error opening file Charan007 1 3,054 Dec-06-2018, 11:50 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020