Re: Executing system commands in Linux from XSI but outside of XSI's environment?

2012-05-24 Thread Thomas Volkmann
Hey Alan, did you receive an answer to this (not sure if I get all the mails lately)? I was stumbling on the same problem once and never got it solved :/ cheers, Thomas Alan Fregtman alan.fregt...@gmail.com hat am 22. Mai 2012 um 23:44 geschrieben: Hey guys, I'm stuck trying to run a

Re: Executing system commands in Linux from XSI but outside of XSI's environment?

2012-05-24 Thread Jens Lindgren
Have you tried subprocess? http://docs.python.org/library/subprocess.html /Jens On Thu, May 24, 2012 at 11:21 AM, Thomas Volkmann tho...@heulfritze.dewrote: ** Hey Alan, did you receive an answer to this (not sure if I get all the mails lately)? I was stumbling on the same problem once

Re: Executing system commands in Linux from XSI but outside of XSI's environment?

2012-05-24 Thread Frederic Servant
Hi Alan, Your problem is that the XSI environment has been sourced and it sets the LD_LIBRARY_PATH, hence overrides the system libraries with XSI's ones, including libstdc++. Attaching a simple wrapper to unset LD_LIBRARY_PATH and launch your command, use it like this: cmd_wrapper.sh my_command

Executing system commands in Linux from XSI but outside of XSI's environment?

2012-05-22 Thread Alan Fregtman
Hey guys, I'm stuck trying to run a compiled executable utility from a plugin in XSI in Linux (CentOS though, not Fedora) and I'm getting this: /path/to/softimage/linux/Softimage_2012.SAP/Application/bin/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /path/to/myprogram) Anyone