Skip to content

Commit

Permalink
Update src/library/scala/sys/process/ProcessBuilder.scala
Browse files Browse the repository at this point in the history
Fix typesetting of unordered list items in the docs.
  • Loading branch information
vy committed Feb 6, 2013
1 parent 948e6ac commit 8eadc6d
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/library/scala/sys/process/ProcessBuilder.scala
Expand Up @@ -46,14 +46,14 @@ import ProcessBuilder._
*
* Two existing `ProcessBuilder` can be combined in the following ways:
*
* * They can be executed in parallel, with the output of the first being fed
* as input to the second, like Unix pipes. This is achieved with the `#|`
* method.
* * They can be executed in sequence, with the second starting as soon as
* the first ends. This is done by the `###` method.
* * The execution of the second one can be conditioned by the return code
* (exit status) of the first, either only when it's zero, or only when it's
* not zero. The methods `#&&` and `#||` accomplish these tasks.
* - They can be executed in parallel, with the output of the first being fed
* as input to the second, like Unix pipes. This is achieved with the `#|`
* method.
* - They can be executed in sequence, with the second starting as soon as
* the first ends. This is done by the `###` method.
* - The execution of the second one can be conditioned by the return code
* (exit status) of the first, either only when it's zero, or only when it's
* not zero. The methods `#&&` and `#||` accomplish these tasks.
*
* ==Redirecting Input/Output==
*
Expand All @@ -74,18 +74,18 @@ import ProcessBuilder._
* overloads and variations to enable further control over the I/O. These
* methods are:
*
* * `run`: the most general method, it returns a
* [[scala.sys.process.Process]] immediately, and the external command
* executes concurrently.
* * `!`: blocks until all external commands exit, and returns the exit code
* of the last one in the chain of execution.
* * `!!`: blocks until all external commands exit, and returns a `String`
* with the output generated.
* * `lines`: returns immediately like `run`, and the output being generared
* is provided through a `Stream[String]`. Getting the next element of that
* `Stream` may block until it becomes available. This method will throw an
* exception if the return code is different than zero -- if this is not
* desired, use the `lines_!` method.
* - `run`: the most general method, it returns a
* [[scala.sys.process.Process]] immediately, and the external command
* executes concurrently.
* - `!`: blocks until all external commands exit, and returns the exit code
* of the last one in the chain of execution.
* - `!!`: blocks until all external commands exit, and returns a `String`
* with the output generated.
* - `lines`: returns immediately like `run`, and the output being generared
* is provided through a `Stream[String]`. Getting the next element of that
* `Stream` may block until it becomes available. This method will throw an
* exception if the return code is different than zero -- if this is not
* desired, use the `lines_!` method.
*
* ==Handling Input and Output==
*
Expand Down

1 comment on commit 8eadc6d

@scala-jenkins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Job pr-rangepos-per-commit failed for 8eadc6d of #2076 (results):


Took 55 min.
sad kitty

Please sign in to comment.