Encode the command using the file system encoding.
Encode the file paths to the system encoding.
Add "from_keybinding" key to arg if not present.
Import sys.
Replace %E with the engine for all items of the command list.
Build would crash if the command list did not have at least 4 parameters.