code/superant.com.rwdshell/shelleval.rb in rwddemo-0.90 vs code/superant.com.rwdshell/shelleval.rb in rwddemo-0.91
- 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