I'm seeing some odd behavior with system calls. Maybe you can help.
My goal is to build a simple cross-platform wrapper around ffmpeg.
When I make a system call in shoes it can execute the "date" command
but not the "ffmpeg" command.
Examples:
This returns the date in shoes: `date`
This returns the man page in shoes: `man ffmpeg`
This returns the ffmpeg help in irb: `ffmpeg -h`
This returns ***an empty string**** in shoes: `ffmpeg -h`
This returns ***false**** in shoes: system("ffmpeg -h")
- I have tried matching the permissions for the date command.
- Using full paths does not change the behaviors.
- backticks, "system", and IO.popen all have the same behavior
Is there some environment issue for shoes that could be causing this?
Thanks,
Noah