summaryrefslogtreecommitdiffstats
path: root/batch.scm
diff options
context:
space:
mode:
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))