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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -