The ceammc library have a [system.exec] object which can run external command in separate process with output for every OS.
Le lun. 28 sept. 2020 à 03:14, William Brent <[email protected]> a écrit : > I used [motex/system] in a recent project because it was the only object > that can create directories in Linux, Mac OS, and Windows. So I can confirm > it loads and works on all platforms. But yes...it's very minimal, doesn't > report errors, and you have to deal with backlashes for the Windows case. > > > On Sun, Sep 27, 2020 at 2:03 PM oliver <[email protected]> wrote: > >> Christof Ressi wrote: >> >> but all I get is error messages >> > Would you mind sharing the error messages? ;-) >> >> i guess what christof is pointing at is that [system] doesn't give us >> any error messages at all ;-) >> >> ([system] is avery minimalist object, as far as i can guess from a look >> at the source code). >> >> @David: >> >> you have to use double backslashes as path seperators. single >> backslashes are just used to escape special characters in PD. >> >> so, to create a directory called my_temp on partition D, you would write: >> >> [mkdir D:\\my_temp( >> | >> [system] >> >> Your OS version would be >> > helpful as well. >> >> must be windows, right ? >> i don't think [system] even loads in OSX or LINUX >> >> best >> >> oliver >> >> >> >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> https://lists.puredata.info/listinfo/pd-list >> > > > -- > William Brent > www.williambrent.com > > “Great minds flock together” > Conflations: conversational idiom for the 21st century > > www.conflations.com > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > -- *Raphaël Isdant* *Creative teacher & interactive **art freelancer* http://raphaelisdant.fr
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
