Hi, all, hopefully a quick question:
I've been using Pd-extended successfully for VOIP over LAN for a research project. I am working on having it launch automatically for my game server, using Java's Process class. When I launch this way, however, none of my normal libraries are loaded. I wouldn't think this is strange, except that if I go into a Unix shell and run the same command, all of the libraries load automatically. Does anyone know if there is something fundamentally different that I am missing?
Below, note that when run from command line, smilib is loaded (among others), while when run from within Java, no libraries appear to be loaded, and the threshold nodes produce an error.
command:
/Applications/Pd-extended.app/Contents/Resources/bin/pdextended -nogui /Users/toupsz/Library/Application\ Support/StudiesTeCServer/patch/serverPatch/serverPatch2592377788743645423.pd
when run from command line:
libdir loader $Revision: 1.8 $
compiled on Sep 22 2010 at 03:41:35
compiled against Pd version 0.42.5.extended
... <many libraries loading>
libdir_loader: added 'smlib' to the global objectclass path
... <more libraries loading>
___ netsend~ SD 1.0b ___
Copyright (C) 2008 Remu | Written by Olivier Guillerminet
Based on code copyright (C) 2004-2005 Olaf Matthes
___
expr, expr~, fexpr~ version 0.4 under GNU General Public License
___ netreceive~ SD 1.0b ___
Copyright (C) 2008 Remu | Written by Olivier Guillerminet
Based on code copyright (C) 2004-2005 Olaf Matthes
___
listening to port number 14402
listening to port number 14403
listening to port number 14404
listening to port number 14405
netsend~ : blocksize set to 256
set SO_BROADCAST
SO_SNDBUF: 9216
set SO_SNDBUF
SO_SNDBUF: 8192
netsend~: connected host 192.168.1.255 on port 14401
netreceive~ : blocksize set to 256
netreceive~ : blocksize set to 256
netreceive~ : blocksize set to 256
netreceive~ : blocksize set to 256
Pt_Start() called
when run within Java:
java.lang.UNIXProcess@1c047338 ERR > ___ netsend~ SD 1.0b ___
java.lang.UNIXProcess@1c047338 ERR > Copyright (C) 2008 Remu | Written by Olivier Guillerminet
java.lang.UNIXProcess@1c047338 ERR > Based on code copyright (C) 2004-2005 Olaf Matthes
java.lang.UNIXProcess@1c047338 ERR > ___
java.lang.UNIXProcess@1c047338 ERR > expr, expr~, fexpr~ version 0.4 under GNU General Public License
**java.lang.UNIXProcess@1c047338 ERR > threshold 10 100 1 10
java.lang.UNIXProcess@1c047338 ERR > ... couldn't create
java.lang.UNIXProcess@1c047338 ERR > threshold 10 100 1 10
java.lang.UNIXProcess@1c047338 ERR > ... couldn't create
java.lang.UNIXProcess@1c047338 ERR > threshold 10 100 1 10
java.lang.UNIXProcess@1c047338 ERR > ... couldn't create
java.lang.UNIXProcess@1c047338 ERR > threshold 10 100 1 10
java.lang.UNIXProcess@1c047338 ERR > ... couldn't create **
java.lang.UNIXProcess@1c047338 ERR > ___ netreceive~ SD 1.0b ___
java.lang.UNIXProcess@1c047338 ERR > Copyright (C) 2008 Remu | Written by Olivier Guillerminet
java.lang.UNIXProcess@1c047338 ERR > Based on code copyright (C) 2004-2005 Olaf Matthes
java.lang.UNIXProcess@1c047338 ERR > ___
java.lang.UNIXProcess@1c047338 ERR > listening to port number 14402
java.lang.UNIXProcess@1c047338 ERR > listening to port number 14403
java.lang.UNIXProcess@1c047338 ERR > listening to port number 14404
java.lang.UNIXProcess@1c047338 ERR > listening to port number 14405
java.lang.UNIXProcess@1c047338 ERR > netsend~ : blocksize set to 256
java.lang.UNIXProcess@1c047338 ERR > set SO_BROADCAST
java.lang.UNIXProcess@1c047338 ERR > SO_SNDBUF: 9216
java.lang.UNIXProcess@1c047338 ERR > set SO_SNDBUF
java.lang.UNIXProcess@1c047338 ERR > SO_SNDBUF: 8192
java.lang.UNIXProcess@1c047338 ERR > netsend~: connected host 192.168.1.255 on port 14401
java.lang.UNIXProcess@1c047338 ERR > netreceive~ : blocksize set to 256
java.lang.UNIXProcess@1c047338 ERR > netreceive~ : blocksize set to 256
java.lang.UNIXProcess@1c047338 ERR > netreceive~ : blocksize set to 256
java.lang.UNIXProcess@1c047338 ERR > netreceive~ : blocksize set to 256