Skip to content

Commit 6dfff31

Browse files
author
volayaf@gmail.com
committedJul 15, 2012
fixed #6029
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@301 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent a0d0145 commit 6dfff31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/sextante/r/RUtils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def executeRAlgorithm(alg):
5555
RUtils.getRScriptFilename(), RUtils.getConsoleOutputFilename()]
5656
else:
5757
os.chmod(RUtils.getRScriptFilename(), stat.S_IEXEC | stat.S_IREAD | stat.S_IWRITE)
58-
command = ["R", "CMD", "BATCH", "--vanilla", RUtils.getRScriptFilename(), RUtils.getConsoleOutputFilename()]
58+
command = "R CMD BATCH --vanilla " + RUtils.getRScriptFilename() + " "+ RUtils.getConsoleOutputFilename()
5959

6060
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE,stderr=subprocess.STDOUT,
6161
universal_newlines=True)

0 commit comments

Comments
 (0)
Please sign in to comment.