Updated Forking (markdown)

harrah 2011-11-25 12:42:04 -08:00
parent cb81e4b372
commit 8e9dd88ef5
1 changed files with 9 additions and 1 deletions

@ -93,6 +93,14 @@ outputStrategy := Some(BufferedOutput(log: Logger))
As with other settings, this can be configured individually for main or test `run` tasks.
## Direct Usage
# Configuring Input
By default, the standard input of the sbt process is not forwarded to the forked process. To enable this, configure the `connectInput` setting:
```scala
connectInput in run := true
```
# Direct Usage
To fork a new Java process, use the [Fork API]. The methods of interest are `Fork.java`, `Fork.javac`, `Fork.scala`, and `Fork.scalac`. See the [ForkJava] and [ForkScala] classes for the arguments and types.