code: def TryRun(self, text, extension ):
          
          ok = self.TryLink(text, extension)
          if( ok ):
              prog = self.lastTarget
              pname = prog.get_internal_path()
              output = self.confdir.File(os.path.basename(pname)+'.out')
              node = self.env.Command(output, prog, [ [ pname, ">", "${TARGET}"] ])
              ok = self.BuildNodes(node)
              if ok:
                  outputStr = SCons.Util.to_str(output.get_contents())
                  return( 1, outputStr)
          return (0, "")
docs: Compiles and runs the program given in text, using extension
          as file extension (e.g. '.c'). Returns (1, outputStr) on success,
          (0, '') otherwise. The target (a file containing the program's stdout)
          is saved in self.lastTarget (for further processing).