code/superant.com.rwdshell/shelleval.rb in rwdshell-0.96 vs code/superant.com.rwdshell/shelleval.rb in rwdshell-0.97
- old
+ new
@@ -3,10 +3,10 @@
def shelleval
commandtext = "%s " % [@a_shelleval]
begin # exception trapped block
- system(commandtext+' > temp.output')
+ commandtextnext = File.join($shellscript_directory,commandtext)
@result =`#{commandtext}`
rescue SystemCallError, StandardError