summaryrefslogtreecommitdiffstats
path: root/batch.scm
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
commita69c9fb665459e2bfdbda1bf80741a0af31a7faf (patch)
treef0bc974f8805049e6b9a4e6864886298fbaa05a4 /batch.scm
parent4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff)
downloadslib-upstream/3b5.tar.gz
slib-upstream/3b5.zip
New upstream version 3b5upstream/3b5upstream
Diffstat (limited to 'batch.scm')
-rwxr-xr-x[-rw-r--r--]batch.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/batch.scm b/batch.scm
index 14117d0..b7090e5 100644..100755
--- a/batch.scm
+++ b/batch.scm
@@ -23,6 +23,7 @@
(require 'parameters)
(require 'string-port)
(require 'pretty-print)
+(require 'multiarg-apply)
(require 'common-list-functions)
(require-if '(and bignum compiling) 'posix-time)
@@ -107,7 +108,7 @@
(else (slib:error 'batch:command 'failed strings))))
;@
(define (batch:run-script parms name . strings)
- (case (batch:dialect parms strings)
+ (case (batch:dialect parms)
((vms) (batch:command parms (string-append "@" name) strings))
(else (batch:command parms name strings))))
@@ -348,6 +349,7 @@
(call-with-output-string
(lambda (port)
(batch:call-with-output-script
+ parms
port
(lambda (batch-port)
(define new-parms (copy-tree pl))