{"id":"runtime--Process.Run","name":"Process.Run","owner":"yeho","package":"runtime.Process","kind":"builtin","signature":"Process.Run(text executable, list of text arguments, text workingDirectory, int timeoutMilliseconds) -> int64","description":"Run an explicitly selected Windows program in an owned job and wait for its exit.","context":"Built into Yeho; no import is needed. These additions have Windows CPU-oracle developer-host evidence. Kyber rejects these operations; this does not qualify Starfish or other targets.","parameters":[{"name":"executable","type":"text","description":"Absolute Windows executable path; no shell or PATH search."},{"name":"arguments","type":"list of text","description":"Individually quoted arguments; at most 256."},{"name":"workingDirectory","type":"text","description":"Child directory; empty text inherits the caller directory."},{"name":"timeoutMilliseconds","type":"int","description":"1 through 3,600,000 ms, or explicit 0 for an unbounded wait."}],"returns":"int64","members":[],"tags":["builtin","cpu","yeho","process"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":808,"sha256":"e07098e8794c2cde592b3a907d5141cacb101812da91d4a8eb22650739752615"},"status":"registered-intrinsic","notes":["Returns a nonnegative Windows DWORD exit code, or -1 invalid arguments, -2 setup failure, -3 timeout, -4 supervision failure, -5 unsupported host. Job cleanup terminates remaining descendants. This is lifecycle containment, not a security sandbox. No output capture. The illustrative executable is not supplied or run during type checking.","Contract and host execution evidence: yeho/docs/runtime/hardware-host-tools.md. This small example was type checked, not executed."],"examples":[{"id":"usage","title":"Call Process.Run","description":"A complete typed call with illustrative values; native calls require the indicated host and resources.","code":"int64 result = Process.Run(\"C:/example/tool.exe\", [], \"\", 1000)\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__process_run\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","builtin"],"run":"cpu-oracle","verification":"type checked","sha256":"022d3aac358cf680dada2bd020a2ed3be3e76b34aa416ea1529d6ebaeecbff05","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":"cpu-oracle"}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Process.Run","json":"https://demonhunterlabs.com/reference/items/runtime--Process.Run.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Process.Run.md"}
