Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5776707
By: antsh85

Hi,

When I run next command from terminal -> no problems:
import subprocess

print subprocess.Popen(["svn info"], shell=True,
stdout=subprocess.PIPE).communicate()[0]

but when I run same command from PyDev I get:
/bin/sh: svn: command not found

Tried putting folder: 
"/opt/subversion/bin" into PYTHONPATH but no luck. Works only if I use
fullpath:
print subprocess.Popen(["/opt/subversion/bin/svn"], shell=True,
stdout=subprocess.PIPE).communicate()[0]

Any suggestion how to fix my problem?



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to