func (s *DumpSystem) RunScript(scriptname RelPath, dir AbsPath, data []byte, interpreter *Interpreter) error {
	scriptnameStr := scriptname.String()
	scriptData := &scriptData{
		Type:     dataTypeScript,
		Name:     NewAbsPath(scriptnameStr),
		Contents: string(data),
	}
	if !interpreter.None() {
		scriptData.Interpreter = interpreter
	}
	return s.setData(scriptnameStr, scriptData)
}
// RunScript implements System.RunScript.
RunScript implements System.RunScript.
// RunScript implements System . RunScript .
func (s *DumpSystem) RunScript(scriptname RelPath, dir AbsPath, data []byte, interpreter *Interpreter) error {
	scriptnameStr := scriptname.String()
	scriptData := &scriptData{
		Type:     dataTypeScript,
		Name:     NewAbsPath(scriptnameStr),
		Contents: string(data),
	}
	if !interpreter.None() {
		scriptData.Interpreter = interpreter
	}
	return s.setData(scriptnameStr, scriptData)
}
func ( s * DumpSystem ) RunScript ( scriptname RelPath , dir AbsPath , data [ ] byte , interpreter * Interpreter ) error { scriptnameStr := scriptname . String ( ) scriptData := & scriptData { Type : dataTypeScript , Name : NewAbsPath ( scriptnameStr ) , Contents : string ( data ) , } if ! interpreter . None ( ) { scriptData . Interpreter = interpreter } return s . setData ( scriptnameStr , scriptData ) }
RunScript implements System.RunScript.
RunScript implements System . RunScript .