aboutsummaryrefslogtreecommitdiff
path: root/libraries/process/test/test.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-06-15 22:34:42 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-06-15 22:43:18 -0400
commitb5194aab6f1f57aff6e4538acaf91245fdf15039 (patch)
tree4516f4c4686ceaf35619a68c0d9d1a6c359d1897 /libraries/process/test/test.scala
parentc65d21ae38bdfb646af991a5f3b1dfe8e41a5318 (diff)
downloadcbt-b5194aab6f1f57aff6e4538acaf91245fdf15039.tar.gz
cbt-b5194aab6f1f57aff6e4538acaf91245fdf15039.tar.bz2
cbt-b5194aab6f1f57aff6e4538acaf91245fdf15039.zip
add process library with extracted and new functions
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
+ }
+}