[PD] shutdown osx via PD

Simon Iten itensimon at gmail.com
Sun Nov 13 21:42:03 CET 2022

thanks oliver and IOhannes,

i installed [command] and supplied the full path. working as expected now. (got to read up on the superuser without password thing)


> On 12 Nov 2022, at 15:34, IOhannes m zmölnig <zmoelnig at iem.at> wrote:
> 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.
> mfg.sfg.jfd
> IOhannes
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list