def shelleval commandtext = "%s " % [@a_shelleval] begin # exception trapped block commandtextnext = File.join($shellscript_directory,commandtext) @result =`#{commandtext}` rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end