aboutsummaryrefslogtreecommitdiff
path: root/libraries/process/test/test.scala
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2017-06-15 23:15:37 -0400
committerGitHub <noreply@github.com>2017-06-15 23:15:37 -0400
commit494c302e738529ff2113d25910398d7b2b7a196c (patch)
treed67c88d10906647c7fd56229e6e56121a9107744 /libraries/process/test/test.scala
parent618711302b7ea29de651c1f771eb3160e236b339 (diff)
parent09051773461b98d374d1b46dd0a2caa57768ab30 (diff)
downloadcbt-494c302e738529ff2113d25910398d7b2b7a196c.tar.gz
cbt-494c302e738529ff2113d25910398d7b2b7a196c.tar.bz2
cbt-494c302e738529ff2113d25910398d7b2b7a196c.zip
Merge pull request #523 from cvogt/restart
sbt-revolver like restart feature
Diffstat (limited to 'libraries/process/test/test.scala')
-rw-r--r--libraries/process/test/test.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/libraries/process/test/test.scala b/libraries/process/test/test.scala
new file mode 100644
index 0000000..4e1c1a1
--- /dev/null
+++ b/libraries/process/test/test.scala
@@ -0,0 +1,7 @@
+object Tests{
+ def main(args: Array[String]): Unit = {
+ val pb = new ProcessBuilder("cat")
+ val p = pb.start
+ cbt.process.getProcessId( p ) // checks that it actually gets a process id
+ }
+}