nsProcess.nsh 664 B

12345678910111213141516171819202122232425262728
  1. !define nsProcess::FindProcess `!insertmacro nsProcess::FindProcess`
  2. !macro nsProcess::FindProcess _FILE _ERR
  3. nsProcess::_FindProcess /NOUNLOAD `${_FILE}`
  4. Pop ${_ERR}
  5. !macroend
  6. !define nsProcess::KillProcess `!insertmacro nsProcess::KillProcess`
  7. !macro nsProcess::KillProcess _FILE _ERR
  8. nsProcess::_KillProcess /NOUNLOAD `${_FILE}`
  9. Pop ${_ERR}
  10. !macroend
  11. !define nsProcess::CloseProcess `!insertmacro nsProcess::CloseProcess`
  12. !macro nsProcess::CloseProcess _FILE _ERR
  13. nsProcess::_CloseProcess /NOUNLOAD `${_FILE}`
  14. Pop ${_ERR}
  15. !macroend
  16. !define nsProcess::Unload `!insertmacro nsProcess::Unload`
  17. !macro nsProcess::Unload
  18. nsProcess::_Unload
  19. !macroend