Browse Source

You can't interact with forked processes - PR 23686

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275448 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
d4759031a1
3 changed files with 11 additions and 0 deletions
  1. +4
    -0
      docs/manual/CoreTasks/apply.html
  2. +3
    -0
      docs/manual/CoreTasks/exec.html
  3. +4
    -0
      docs/manual/CoreTasks/java.html

+ 4
- 0
docs/manual/CoreTasks/apply.html View File

@@ -26,6 +26,10 @@ target file which is defined by the nested mapper element and searched
for in the given dest.</p> for in the given dest.</p>
<p>At least one fileset or filelist is required, and you must not specify more than <p>At least one fileset or filelist is required, and you must not specify more than
one mapper.</p> one mapper.</p>

<p>Note that you cannot interact with the forked program, the only way
to send input to it is via the input and inputstring attributes.</p>

<h3>Parameters</h3> <h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0"> <table border="1" cellpadding="2" cellspacing="0">
<tr> <tr>


+ 3
- 0
docs/manual/CoreTasks/exec.html View File

@@ -13,6 +13,9 @@
the command is only executed when Ant is run on one of the specified operating the command is only executed when Ant is run on one of the specified operating
systems.</p> systems.</p>


<p>Note that you cannot interact with the forked program, the only way
to send input to it is via the input and inputstring attributes.</p>

<h4>Cygwin Users</h4> <h4>Cygwin Users</h4>
<p>In general the &lt;exec&gt; task will not understand paths such as /bin/sh for <p>In general the &lt;exec&gt; task will not understand paths such as /bin/sh for
the executable parameter. This is because the Java VM in which Ant is running is a the executable parameter. This is because the Java VM in which Ant is running is a


+ 4
- 0
docs/manual/CoreTasks/java.html View File

@@ -14,6 +14,10 @@ specified.</p>
<p> <p>
If odd things go wrong when you run this task, set fork="true" to use a new If odd things go wrong when you run this task, set fork="true" to use a new
JVM. JVM.

<p>Note that you cannot interact with a forked VM, the only way to
send input to it is via the input and inputstring attributes.</p>

<h3>Parameters</h3> <h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0"> <table border="1" cellpadding="2" cellspacing="0">
<tr> <tr>


Loading…
Cancel
Save