From 25d657da4d3fc69c76abb95cacc6659c82d5632c Mon Sep 17 00:00:00 2001 From: Wesley Kerfoot Date: Sun, 16 Jun 2019 22:14:03 -0400 Subject: [PATCH] Better bash function --- shelltalk.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shelltalk.sh b/shelltalk.sh index e834b8b..0c24626 100644 --- a/shelltalk.sh +++ b/shelltalk.sh @@ -1,7 +1,8 @@ # Place this in your ~/.bashrc file function log() { - /home/wes/code/shelltalk/client.py -W "$$" "$(history 1)" > /dev/null 2>&1 + /home/wes/code/shelltalk/client.py -W "$$" "$(history 1)" > /dev/null 2>&1 & + disown "$!" } /home/wes/code/shelltalk/client.py -S $$