Sha256: 3e91f315f28511acd2577fc218f1eaace0f2c5d366bbe489c164ca73bc7555ce

Contents?: true

Size: 471 Bytes

Versions: 10

Compression:

Stored size: 471 Bytes

Contents

  def playscript
  
    
    nametext = "%s" % [@a_scriptcmd]
	 
      begin # exception trapped block
         fileName = "scripts/" + 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

10 entries across 10 versions & 2 rubygems

Version Path
rwddemo-0.8 code/dd0shelleval/playscript.rb
rwddemo-0.6 code/ek0shellscripts/ek0playscript.rb
rwddemo-0.90 code/superant.com.rwdshell/playscript.rb
rwddemo-0.7 code/dd0shelleval/playscript.rb
rwdshell-0.93 code/dd0shelleval/playscript.rb
rwdshell-0.9 code/ek0shellscripts/ek0playscript.rb
rwdshell-0.94 code/dd0shelleval/playscript.rb
rwdshell-0.92 code/dd0shelleval/playscript.rb
rwdshell-0.95 code/superant.com.rwdshell/playscript.rb
rwdshell-0.96 code/superant.com.rwdshell/playscript.rb