I have a Python script that takes argument with options. If I run it in Unreal Console, it works.
py "D:\DP_EditorController.py" -i "C:/Users/Sample/Downloads/burger.glb"
However, if I try to run the script from the Windows CMD, it cannot recognize the python argument.
UE4Editor-Cmd.exe "D:\DataPrepPy.uproject" -run=pythonscript -script="D:\DP_EditorController.py" -i "C:/Users/Sample/Downloads/burger.glb"
Is there any solution or workaround to pass argument to Python script when it gets executed from the Windows CMD?
P.s. thanks in advance.