Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Cocoa アプリケーションがインタラクティブに実行されているか、cron などから実行されているかを確認する方法はありますか? 基本的には、コマンドを実行している人ならGUIを表示させたいのですが、cronなどから呼び出されている場合はGUIを表示したくありません。