From 78869c9dad28937baf87159d309fd73634fac575 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Tue, 5 Sep 2023 09:32:02 +0800 Subject: [PATCH] Add last space to `xy_str_to_quietcmd()` --- xy.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xy.h b/xy.h index ec5f593..15dff91 100644 --- a/xy.h +++ b/xy.h @@ -2,7 +2,7 @@ * File : xy.h * Authors : Aoran Zeng * Created on : <2023-08-28> -* Last modified : <2023-09-04> +* Last modified : <2023-09-05> * * xy: * @@ -273,9 +273,9 @@ xy_str_to_quietcmd (const char* cmd) { char* ret = NULL; #ifdef _WIN32 - ret = xy_2strjoin (cmd, " >nul 2>nul"); + ret = xy_2strjoin (cmd, " >nul 2>nul "); #else - ret = xy_2strjoin (cmd, " 1>/dev/null 2>&1"); + ret = xy_2strjoin (cmd, " 1>/dev/null 2>&1 "); #endif return ret; }