Redirect stderr and stdout separately

This commit is contained in:
Arun Prakash Jana 2019-03-12 18:14:50 +05:30
parent 54c89ca2a1
commit caf77886b8
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -13,5 +13,5 @@ get_selection() {
} }
if selection=$( get_selection ); then if selection=$( get_selection ); then
"$selection" 2>&1 >/dev/null & "$selection" 2>/dev/null 1>/dev/null &
fi fi