[PD] mkdir in motex/system
raphael.isdant at gmail.com
Mon Sep 28 08:56:40 CEST 2020
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 <william.brent at gmail.com> a
> 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 <oliver at klingt.org> 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).
>> 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(
>> Your OS version would be
>> > helpful as well.
>> must be windows, right ?
>> i don't think [system] even loads in OSX or LINUX
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
> William Brent
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
*Creative teacher & interactive **art freelancer*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list