Hello,
I am trying to run external application with arguments.
For code test I try to run VLC with some parameters.
I Use OS.execute(), which works, opens the movie, but when I pass the arguments like
--noaudio, it doesn`t work, audio is still playing after program opens.
I tried it via normal command line, the argument opens the movie with no audio, but when running it via OS.execute(), the argument does nothing.
var array = ["--noaudio"]
var args = PoolStringArray(array)
OS.execute("D:\\Downloads\\movie.mkv", args, true)
Is the issue in my code? In the future we will need to run TexturePacker that will be creating atlases from textures, but it needs a lot of arguments.