[Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

Werner Macho werner.macho at gmail.com
Mon Aug 27 12:39:58 PDT 2012


On 08/27/2012 04:12 PM, Barry Rowlingson wrote:
> I think the subprocess.Popen call in RUtils is at fault. The "command"
> is a list, but I think shell=True causes it to be sent to the shell as
> a command line. If you concatenate (join) the command list with spaces
> into a single string, this works: proc = subprocess.Popen("
> ".join(command), shell=True, stdout=subprocess.PIPE,
> stdin=subprocess.PIPE,stderr=subprocess.STDOUT,
> universal_newlines=True) line 62 of RUtils.py in the sextante plugin.
> Barry 

Hi!
Tried your new line (actually it was line 62 in my sextante)
with no luck ..
same result as before :(

So I still do not know where the problem is ..
Probably Victor will be at the next hackfest and I can show my notebook
to him ;)

but thanks for your try anyway .

kind regards
Werner



More information about the Qgis-developer mailing list