fix `current-subprocess-custodian-mode' for a #f argument
This commit is contained in:
parent
6c49aee3a6
commit
ccabbaa36e
|
@ -410,6 +410,10 @@
|
|||
(parameterize ([current-subprocess-custodian-mode 'interrupt])
|
||||
(try (if (eq? 'windows (system-type)) 'running 'done-error) #t)))
|
||||
|
||||
;; check that #f is an allowed mode:
|
||||
(parameterize ([current-subprocess-custodian-mode #f])
|
||||
(test #f current-subprocess-custodian-mode))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; process groups
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
@ -8917,7 +8917,7 @@ static Scheme_Object *current_subproc_cust_mode (int argc, Scheme_Object *argv[]
|
|||
{
|
||||
return scheme_param_config("current-subprocess-custodian-mode", scheme_make_integer(MZCONFIG_SUBPROC_CUSTODIAN_MODE),
|
||||
argc, argv,
|
||||
-1, subproc_cust_mode_p, "'interrupt, 'kill, or #f", 0);
|
||||
-1, subproc_cust_mode_p, "'interrupt, 'kill, or #f", 1);
|
||||
}
|
||||
|
||||
static Scheme_Object *subproc_group_on (int argc, Scheme_Object *argv[])
|
||||
|
|
Loading…
Reference in New Issue
Block a user