apisarenco / ppid

MacOS parent PID finder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fast MacOS Parent PID Finder

This is a simple program that will find the parent PIDs of a process on MacOS.

Why?

Because I want an easy way to test where my shell is running. Some terminal emulators support fonts and colors, while others do not. I want to know which one I'm using, and conditionally re-launch zsh with the correct $ZDOTDIR.

Usage

ppid
57676 ppid
57144 zsh
79178 Code Helper (Re
79175 Code Helper (Re
79152 Electron

About

MacOS parent PID finder

License:BSD Zero Clause License


Languages

Language:C++ 91.4%Language:Makefile 8.6%