325
326
327
328
329
330
331
332
333
334
335
336
337
338
|
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
|
+
|
"-q" ;; quiet 0, errors/warnings only
)
args:arg-hash
0))
;; Add args that use remargs here
;;
(if (and (not (null? remargs))
(not (or
(args:get-arg "-runstep")
(args:get-arg "-envcap")
(args:get-arg "-envdelta")
)
))
|
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
|
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
|
-
+
-
-
|
(if (args:get-arg "-server")
;; Server? Start up here.
;;
(let ((tl (launch:setup))
;; (run-id (and (args:get-arg "-run-id")
;; (string->number (args:get-arg "-run-id"))))
(transport-type (string->symbol (or (args:get-arg "-transport") "http"))))
(transport-type *transport-type* ))
;; (if run-id
;; (begin
(server:launch 0 transport-type)
(set! *didsomething* #t)))
;; ;; (debug:print-error 0 *default-log-port* "server requires run-id be specified with -run-id")))
;;
;; ;; Not a server? This section will decide how to communicate
;; ;;
;; ;; Setup client for all expect listed here
|