Closed skrew closed 4 years ago
have you try \"
?
I can't, i use it with the GUI application.
this seem mono runtime
limitation, wait... I trying on my VM
If you using 6.0 error was: https://github.com/Anime4000/FFmpegDotNet/blob/master/FFmpegDotNet/Run.cs#L28
If you using 5.x issue was: https://github.com/Anime4000/IFME/blob/master/ifme/TaskManager.cs#L44
common problem: sh -c 'command here'
in windows, char "
illegal, linux not, meanwhile '
both OS accept as file name... so...
Just to be clear, the crash come with a single quote: '
not double quote: "
Yes, it crash because I instruct IFME to execute bash -c 'command'
when file name has '
char, bash
stop read at last '
char, rest of it consider other arguments, for example:
bash -c `echo "foobar"`
result: foobar
bash -c `echo "foo'bar"`
result: >
waiting input, error
fix is:
bash -c "echo \"foo'bar\""
result: foo'bar
Linux very sensitive :cry: unlike Windows...
Hehe yep, but it's a bug resolved fast ! ;)
and then... another better solution, using eval
instead of bash -c
or sh -c
hold on :smile:
commit done! try recompile :smile:
Hi,
On Linux, adding a folder or a filename with a quote cause a crash.
EG: L'univers