yes with $wmpid, i got an error but i got the pid so how to send the wmpid result in pd (sorry but it's near 6 o'clock in the morning in france.....) >> you're right, with this line /usr/local/bin/pd & $wmpid=$! > > eeee, you mean without the $ in front of wmpid ??? > > because, in Bash syntax, $ means substitution (as it is also in Tcl > and Pd > syntaxes)