diff --git a/Detailed-Topics/Forking.md b/Detailed-Topics/Forking.md index 11380af..102846a 100644 --- a/Detailed-Topics/Forking.md +++ b/Detailed-Topics/Forking.md @@ -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.