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)
cheers > On 12 Nov 2022, at 15:34, IOhannes m zmölnig <[email protected]> wrote: > > Am 12. November 2022 14:42:36 MEZ schrieb Simon Iten <[email protected]>: >> 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 > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
