mirror of https://github.com/sbt/sbt.git
Updated Forking (markdown)
parent
cb81e4b372
commit
8e9dd88ef5
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue