diff mbox series

utils/pb-console: Use -m to run shell in own process group

Message ID 20190401021710.18047-1-sam@mendozajonas.com
State Accepted
Headers show
Series utils/pb-console: Use -m to run shell in own process group | expand

Commit Message

Sam Mendoza-Jonas April 1, 2019, 2:17 a.m. UTC
Use -m to have the shell spawned by pb-console run it its own process
group, allowing commands such as Ctrl-C (SIGINT) to behave as expected
rather than killing the shell.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 utils/pb-console | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sam Mendoza-Jonas April 3, 2019, 5:37 a.m. UTC | #1
On Mon, 2019-04-01 at 13:17 +1100, Samuel Mendoza-Jonas wrote:
> Use -m to have the shell spawned by pb-console run it its own process
> group, allowing commands such as Ctrl-C (SIGINT) to behave as expected
> rather than killing the shell.
> 
> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>

Merged as 1cd2617

> ---
>  utils/pb-console | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils/pb-console b/utils/pb-console
> index 5ba98cc4..ab5eaaa4 100644
> --- a/utils/pb-console
> +++ b/utils/pb-console
> @@ -141,5 +141,5 @@ while :
>  do
>  	$ui $verbose_opt
>  	reset
> -	$shell
> +	$shell -m
>  done
diff mbox series

Patch

diff --git a/utils/pb-console b/utils/pb-console
index 5ba98cc4..ab5eaaa4 100644
--- a/utils/pb-console
+++ b/utils/pb-console
@@ -141,5 +141,5 @@  while :
 do
 	$ui $verbose_opt
 	reset
-	$shell
+	$shell -m
 done