[PD] open .exe / close pd

oliver oliver at klingt.org
Mon Sep 5 10:58:08 CEST 2005



carmen wrote:

>On Sun, Sep 04, 2005 at 01:48:36PM +0200, IOhannes m zmoelnig wrote:
>  
>
>>pd wrote:
>>    
>>
>>>hi there,
>>> 
>>>is it possible to open a .exe file from a pd-patch?
>>>      
>>>
>>[shell]
>>    
>>
>
>except that [shell] wont compile on windows, so youll want to use [popen]. and [popen] doesnt thread, so you proably want to also install mingw and launch it via bash adding a "&" at the end of the command..
>  
>

for windows, there's the "motex" library 
(http://www.reverberant.com/PD/index.htm) and its [system] object that 
can do console things quite well (don't know if it runs in its own 
thread, though)
for quitting pd, IOhannes method to send PD the "quit" message is best.

ciao

oliver




More information about the Pd-list mailing list