To apply a product patch or maintenance pack without a graphical user interface, you can write an Ant script using task <updateProduct> provided by Oracle BPM.
Refer to the Oracle BPM Ant tasks reference for more details on how to use BPM tasks with Ant in general and details on the <updateProduct> task in particular.