index.ts 844 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /** Shared low-level Win32 process, stdio, and Job Object primitives. */
  2. export { ERROR_INSUFFICIENT_BUFFER } from './abi.ts'
  3. export * from './errors.ts'
  4. export {
  5. allocPtrSlot,
  6. allocUint32,
  7. decodePtr,
  8. decodeUint32,
  9. extendWin32ProcessBindings,
  10. isNullPtr,
  11. loadWin32ProcessBindings,
  12. throwLastError,
  13. throwWin32,
  14. } from './ffi.ts'
  15. export type {
  16. CurrentTokenProcessBindings,
  17. NativePtr,
  18. Win32ProcessBindings,
  19. } from './ffi.ts'
  20. export {
  21. closeHandleChecked,
  22. drainPipe,
  23. isJobEmpty,
  24. pollProcessExit,
  25. probeCurrentTokenJobSupport,
  26. spawnInheritedJobProcess,
  27. spawnCurrentTokenJobProcess,
  28. spawnPipedProcess,
  29. terminateJob,
  30. waitForProcessExit,
  31. } from './process.ts'
  32. export type {
  33. CurrentTokenStdioFileDescriptors,
  34. CurrentTokenProcessSpawnOptions,
  35. SpawnedJobProcess,
  36. SpawnedPipedProcess,
  37. } from './process.ts'