osx - Getting input to an executable via stdin? -
i have executable need take input .wav file on desktop. executable expects input on stdin.
let use example:
/users/tomcruise/desktop/executable /users/tomcruise/desktop/music.wav i using mac os x.
open terminal , following:
$ cd /users/tomcruise/desktop $ ./executable < music.wav
Comments
Post a Comment