mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-10 23:01:45 +02:00
Reformat code
This commit is contained in:
parent
c6518a4709
commit
e1c8250876
32 changed files with 505 additions and 351 deletions
|
@ -72,7 +72,9 @@ namespace strutils = utils::string;
|
|||
#ifndef WINDOWS
|
||||
static std::string execGetOutput(const std::string& cmd)
|
||||
{
|
||||
std::shared_ptr<::FILE> pipe(popen((cmd + " 2> /dev/null").c_str(), "r"), [](::FILE* stream) {
|
||||
std::shared_ptr<::FILE> pipe(popen((cmd + " 2> /dev/null").c_str(), "r"),
|
||||
[](::FILE* stream)
|
||||
{
|
||||
if (stream != nullptr)
|
||||
pclose(stream);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue