Use +new-group+ in all processes launched in mason.
parent
0774944b8d
commit
3b92ff881c
|
@ -28,6 +28,7 @@ IN: mason.child
|
||||||
make-cmd >>command
|
make-cmd >>command
|
||||||
"../compile-log" >>stdout
|
"../compile-log" >>stdout
|
||||||
+stdout+ >>stderr
|
+stdout+ >>stderr
|
||||||
|
+new-group+ >>group
|
||||||
try-process
|
try-process
|
||||||
] with-directory ;
|
] with-directory ;
|
||||||
|
|
||||||
|
@ -50,6 +51,7 @@ IN: mason.child
|
||||||
"../boot-log" >>stdout
|
"../boot-log" >>stdout
|
||||||
+stdout+ >>stderr
|
+stdout+ >>stderr
|
||||||
1 hours >>timeout
|
1 hours >>timeout
|
||||||
|
+new-group+ >>group
|
||||||
try-process
|
try-process
|
||||||
] with-directory ;
|
] with-directory ;
|
||||||
|
|
||||||
|
@ -63,6 +65,7 @@ IN: mason.child
|
||||||
"../test-log" >>stdout
|
"../test-log" >>stdout
|
||||||
+stdout+ >>stderr
|
+stdout+ >>stderr
|
||||||
4 hours >>timeout
|
4 hours >>timeout
|
||||||
|
+new-group+ >>group
|
||||||
try-process
|
try-process
|
||||||
] with-directory ;
|
] with-directory ;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,10 @@ SYMBOL: current-git-id
|
||||||
: short-running-process ( command -- )
|
: short-running-process ( command -- )
|
||||||
#! Give network operations and shell commands at most
|
#! Give network operations and shell commands at most
|
||||||
#! 30 minutes to complete, to catch hangs.
|
#! 30 minutes to complete, to catch hangs.
|
||||||
>process 30 minutes >>timeout try-output-process ;
|
>process
|
||||||
|
30 minutes >>timeout
|
||||||
|
+new-group+ >>group
|
||||||
|
try-output-process ;
|
||||||
|
|
||||||
: retry ( n quot -- )
|
: retry ( n quot -- )
|
||||||
[ iota ] dip
|
[ iota ] dip
|
||||||
|
@ -30,7 +33,10 @@ SYMBOL: current-git-id
|
||||||
: upload-process ( process -- )
|
: upload-process ( process -- )
|
||||||
#! Give network operations and shell commands at most
|
#! Give network operations and shell commands at most
|
||||||
#! 30 minutes to complete, to catch hangs.
|
#! 30 minutes to complete, to catch hangs.
|
||||||
>process upload-timeout get >>timeout try-output-process ;
|
>process
|
||||||
|
upload-timeout get >>timeout
|
||||||
|
+new-group+ >>group
|
||||||
|
try-output-process ;
|
||||||
|
|
||||||
:: upload-safely ( local username host remote -- )
|
:: upload-safely ( local username host remote -- )
|
||||||
remote ".incomplete" append :> temp
|
remote ".incomplete" append :> temp
|
||||||
|
|
Loading…
Reference in New Issue