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

📄 readme.htm

📁 Visual Prolog 7.1的一些学习资料,希望对您有用
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<body>

<h1>Invocation an External Process</h1>
<p>The example contains the application to invoke an external process and
interact with the standard output and standard input of it.</p>
<p>Please notice that it is necessary to invoke:</p>
<pre>Output:flush()</pre>
<p>to send the output.</p>
<p>Please be attentive when using both streams (standard output and standard
input) of an external process. The problem is that you can very easily block the execution. If the parent
process tries to read from the child process and the child process is also
trying to read from standard input, then both processes will simply wait (for
the other one to produce an output).</p>
<h2>Build and Run</h2>
<p>Load the project <a href="callProcess.prj6"><i>callProcess.prj6</i></a> into the IDE and press Ctrl+F5 (Execute), or build the project,
and then run  <a href="Exe/callProcess.exe"><i>Exe/callProcess.exe</i></a>.</p>
<p>It is a good idea to run it from a command prompt (otherwise the window
closes very rapidly).</p>

</body>

</html>

⌨️ 快捷键说明

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