Hi,
i'm trying to write a Cocoa application that launch a command line tool for example top. I've used NSTask with 2 NSPipe to launch the command line tool and to redirect the stdout and stderr to an NSTextview in my applycation asynchronously with Notification center. Now i want to send to the top application the keycode corresponding to the keyboard Q to terminate the task. I tried to write to the stdin without success. Do you have any idea how to send key code to a command line tool launch with NSTask ?

Regards,

Marc
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to