⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit-posix.html

📁 Scheme跨平台编译器
💻 HTML
📖 第 1 页 / 共 4 页
字号:
current-user-id  current-group-id  current-effective-user-id  current-effective-groupd-idset-user-id!  set-group-id!create-sessionprocess-group-id  set-process-group-id!create-symbolic-link  read-symbolic-linkfile-truncatefile-lock  file-lock/blocking  file-unlock  file-test-lockcreate-fifo  fifo?prot/...map/...map-file-to-memory  unmap-file-from-memory  memory-mapped-file-pointer  memory-mapped-file?set-alarm!terminal-port?  terminal-nameprocess-fork  process-signalparent-process-idset-root-directory!utc-time-&gt;seconds</pre><a name="additional-definitions"></a><h3>Additional Definitions</h3><p>Only available for Windows</p><ul><li>open/noinherit</li></ul><p>This variable is a mode value for <tt>create-pipe</tt>. Useful when spawning a child process.</p><ul><li>spawn/overlay</li><li>spawn/wait</li><li>spawn/nowait</li><li>spawn/nowaito</li><li>spawn/detach</li></ul><p>These variables contains special flags that specify the exact semantics of <tt>process-spawn</tt>: <tt>spawn/overlay</tt> replaces the current process with the new one. <tt>spawn/wait</tt> suspends execution of the current process until the spawned process returns. <tt>spawn/nowait</tt> does the opposite (<tt>spawn/nowaito</tt> is identical, according to the Microsoft documentation) and runs the process asynchronously. <tt>spawn/detach</tt> runs the new process in the background, without being attached to a console.</p><a name="process-spawn"></a><h3>process-spawn</h3><pre>[procedure] (process-spawn MODE COMMAND [ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]]])</pre><p>Creates and runs a new process with the given <tt>COMMAND</tt> filename and the optional <tt>ARGUMENT-LIST</tt> and <tt>ENVIRONMENT-LIST</tt>. <tt>MODE</tt> specifies how exactly the process should be executed and must be one or more of the <tt>spawn/...</tt> flags defined above.</p><p>The <tt>EXACT-FLAG</tt>, default <tt>#f</tt>, controls quote-wrapping of argument strings. When <tt>#t</tt> quote-wrapping is not performed.</p><p>Returns:</p><ul><li>the exit status when synchronous</li><li>the PID when asynchronous</li><li>-1 when failure</li></ul><p>Previous: <a href="unit-srfi-18.html" class="internal">Unit srfi-18</a></p><p>Next: <a href="unit-utils.html" class="internal">Unit utils</a></p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -