mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-03-13 07:55:12 +08:00
Add last space to xy_str_to_quietcmd()
This commit is contained in:
parent
bf79323afa
commit
78869c9dad
6
xy.h
6
xy.h
@ -2,7 +2,7 @@
|
||||
* File : xy.h
|
||||
* Authors : Aoran Zeng <ccmywish@qq.com>
|
||||
* 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user