Sha256: e2f51252ae9bec32bd9bd0f63819b09bff275040c713e346730777879a1f3771
Contents?: true
Size: 496 Bytes
Versions: 16
Compression:
Stored size: 496 Bytes
Contents
def playscript nametext = "%s" % [@a_scriptcmd] begin # exception trapped block fileName = $shellscript_directory + "/" + nametext + ".sh" fd = File.open(fileName,"r") commandtext = fd.read fd.close @playscript_display = `#{commandtext}` rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
16 entries across 16 versions & 4 rubygems