Use SlapOSApp API instead subprocess.