Re: NSTask: how to launch a binary as if I launched it via terminal?
Re: NSTask: how to launch a binary as if I launched it via terminal?
- Subject: Re: NSTask: how to launch a binary as if I launched it via terminal?
- From: Colas <email@hidden>
- Date: Mon, 14 Apr 2014 17:35:25 +0200
> Try putting
>
> /usr/bin/pico /Users/colas/myfile.txt
>
> into separate items in the argument NSArray. I find the man page ambiguous, and I lack direct experience, but that may be what bash expects.
>
>
It is not working, unfortunately.
> I can’t guarantee that this will solve the larger problem of whether the effect would be to launch Terminal.app and execute the command,
I don’t want Terminal to be launched. I just want my program (here, in this example pico) to be launched from a login shell.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden