[PD] running python script with [command] outputs info only when script exits