Interacting with UE4 Editor by commandline - best practice

I was attempting to use this syntax to run a Python script in Commandlet mode:
UE4Editor-Cmd.exe “C:\projects\MyProject.uproject” -run=pythonscript -script=“c:\my_script.py”

Fails because Oculus is unable to initialize in Commandlet mode:
LogOnline: Warning: Oculus: Failed to initialize the Oculus Platform SDK! Failure code: -5
LogOnline: Warning: Oculus: Oculus API failed to initialize!

Was looking for another was to run the UE4Editor from command line, and execute a Python script?