[PD] shutdown osx via PD

IOhannes m zmölnig zmoelnig at iem.at
Sat Nov 12 15:34:47 CET 2022

Am 12. November 2022 14:42:36 MEZ schrieb Simon Iten <itensimon at gmail.com>:
>is there a way to shutdown OSX (without any prompts), from within PD? i
>tried a naive "sudo shutdown -h now" sent to a shell object but did not get
>any reaction. (other simple commands like ls worked though)

Try to provide full paths to the commands: the [shell] and [command] objects do not read (nor evaluate) ~/.bashrc and the like, so some PATHs might be missing from the environment.


More information about the Pd-list mailing list