Split a resident action's command line into a path and options.