I have a somewhat complex bash command which includes some pipes and an if-then-else clause, not to mention calling system program (such as grep
) with multiple parameters.
Is there a way to create a plist that launchd will load and run this complex command directly? (As opposed to having the plist reference a bash script file containing the complex command)
Thanks.