mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-09 04:16:21 +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
|
* File : xy.h
|
||||||
* Authors : Aoran Zeng <ccmywish@qq.com>
|
* Authors : Aoran Zeng <ccmywish@qq.com>
|
||||||
* Created on : <2023-08-28>
|
* Created on : <2023-08-28>
|
||||||
* Last modified : <2023-09-04>
|
* Last modified : <2023-09-05>
|
||||||
*
|
*
|
||||||
* xy:
|
* xy:
|
||||||
*
|
*
|
||||||
@ -273,9 +273,9 @@ xy_str_to_quietcmd (const char* cmd)
|
|||||||
{
|
{
|
||||||
char* ret = NULL;
|
char* ret = NULL;
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
ret = xy_2strjoin (cmd, " >nul 2>nul");
|
ret = xy_2strjoin (cmd, " >nul 2>nul ");
|
||||||
#else
|
#else
|
||||||
ret = xy_2strjoin (cmd, " 1>/dev/null 2>&1");
|
ret = xy_2strjoin (cmd, " 1>/dev/null 2>&1 ");
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user