Do build command without shell=True.
Put OASIS files in the work directory, not the input directory. This is the standard.