parameters: (self, static, cook_set)
return_statement: return True
docstring: onStartCook(self, static, cook_set) -> boolean
  
          [virtual] Cook start callback. Starts the job for the cook session.
docstring_summary: onStartCook(self, static, cook_set) -> boolean
docstring_tokens: onStartCook ( self static cook_set ) - > boolean
function: def onStartCook(self, static, cook_set):
          """
          onStartCook(self, static, cook_set) -> boolean
  
          [virtual] Cook start callback. Starts the job for the cook session.
          """
          self._log('onStartCook')
          self._deleteJob()
  
          pdg_workingdir = self["pdg_workingdir"].evaluateString()
          self.setWorkingDir(pdg_workingdir, pdg_workingdir)
  
          if not self.isCallbackServerRunning():
              self.startCallbackServer()
  
          return True
function_tokens: def onStartCook ( self , static , cook_set ) : self . _log ( 'onStartCook' ) self . _deleteJob ( ) pdg_workingdir = self [ "pdg_workingdir" ] . evaluateString ( ) self . setWorkingDir ( pdg_workingdir , pdg_workingdir ) if not self . isCallbackServerRunning ( ) : self . startCallbackServer ( ) return True