diff options
author | Eduardo Julian | 2020-11-26 19:37:11 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-11-26 19:37:11 -0400 |
commit | dbb658bd7976c073a2bf314f194b36b30c45784b (patch) | |
tree | 4771bab5e41fe2ba3939bb3a12941a558b68e712 /stdlib/source/program/aedifex/shell.lux | |
parent | c4bbfea18d995948012f45a6afda7a6e6ba56f84 (diff) |
Allow name formatting for JVM imports, similar to Lux module imports.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/program/aedifex/shell.lux | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/stdlib/source/program/aedifex/shell.lux b/stdlib/source/program/aedifex/shell.lux index 0215c08da..e70571667 100644 --- a/stdlib/source/program/aedifex/shell.lux +++ b/stdlib/source/program/aedifex/shell.lux @@ -26,23 +26,28 @@ (import: java/io/Reader) (import: java/io/InputStreamReader - (new [java/io/InputStream])) + ["#::." + (new [java/io/InputStream])]) (import: java/io/BufferedReader - (new [java/io/Reader]) - (readLine [] #io #try java/lang/String)) + ["#::." + (new [java/io/Reader]) + (readLine [] #io #try java/lang/String)]) (import: java/lang/Process - (getInputStream [] java/io/InputStream) - (getErrorStream [] java/io/InputStream) - (waitFor [] #io #try int)) + ["#::." + (getInputStream [] java/io/InputStream) + (getErrorStream [] java/io/InputStream) + (waitFor [] #io #try int)]) (import: java/io/File - (new [java/lang/String])) + ["#::." + (new [java/lang/String])]) (import: java/lang/Runtime - (#static getRuntime [] #io java/lang/Runtime) - (exec [java/lang/String #? [java/lang/String] java/io/File] #io #try java/lang/Process)) + ["#::." + (#static getRuntime [] #io java/lang/Runtime) + (exec [java/lang/String #? [java/lang/String] java/io/File] #io #try java/lang/Process)]) (template [<exception>] [(exception: #export (<exception> {working-directory Text} {command Text} {error Text}) |