AHLaunchCtl icon indicating copy to clipboard operation
AHLaunchCtl copied to clipboard

Added isRunning

Open idontusenumbers opened this issue 7 years ago • 3 comments

I needed a way to check if a launchd job was running or not. I made a new method (or whatever they are called, I'm new to ObjectiveC). I figured others might find it useful.

idontusenumbers avatar Nov 10 '18 07:11 idontusenumbers

@idontusenumbers, there is actually a function in AHServiceManagement https://github.com/eahrold/AHLaunchCtl/blob/master/AHLaunchCtl/AHServiceManagement.h#L54 ,

If you want to proxy that function in AHLaunchCtl, I’d be fine with that, just update this PR

eahrold avatar Nov 10 '18 13:11 eahrold

@idontusenumbers you still want this?

eahrold avatar Nov 15 '18 03:11 eahrold

Ah, I didn't see that one. I'll switch to that method. I think there's some inconsistency there but I'm too new to ObjectiveC to make a call on which option is best. Feel free to reject the PR, no hard feelings.

idontusenumbers avatar Nov 15 '18 22:11 idontusenumbers