Running shell commands from an app fails
|Reported by:||humdinger||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
This is hrev49522.
I haven't used Ubertuber for some time, and now it crashes. That is, python crashes actually, that's used with the youtube-dl script. See attachment, note the non-UTF8 charcters in line 316.
In Ubertuber I string together a little shell command script that is then executed via
The failing youtube-dl line is:
youtube-dl --continue --restrict-filenames --no-part --no-cache-dir --format best %URL% ;
Doing the same in Terminal directly works!
On IRC bbjimmy IIRC reported a similar issue with using "ls" from his app. His workaround was to use "ls > /dev/null" (though I don't see how that can work...). Anyway, it doesn't work for me and youtube-dl.
If I comment out the above line that is supposed to download a video clip, there's no crash. Even though there are other invocations of youtube-dl, like
youtube-dl --get-title %URL% 2>&1 | tail -n 1
There are also a whole lot of other script commands involved that don't have a problem, see here for example