Skip to content

Added isRunning#5

Open
idontusenumbers wants to merge 1 commit into
eahrold:masterfrom
idontusenumbers:isrunning
Open

Added isRunning#5
idontusenumbers wants to merge 1 commit into
eahrold:masterfrom
idontusenumbers:isrunning

Conversation

@idontusenumbers

Copy link
Copy Markdown

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.

@eahrold

eahrold commented Nov 10, 2018

Copy link
Copy Markdown
Owner

@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

eahrold commented Nov 15, 2018

Copy link
Copy Markdown
Owner

@idontusenumbers you still want this?

@idontusenumbers

Copy link
Copy Markdown
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants