diff options
Diffstat (limited to 'libs/pbd/system_exec.cc')
-rw-r--r-- | libs/pbd/system_exec.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index fc66e1f6e4..a19e873da2 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -282,18 +282,6 @@ SystemExec::make_argp_escaped(std::string command, const std::map<char, std::str argp[n] = NULL; } -string -SystemExec::GetString () -{ - stringstream out; - if (argp) { - for (int i = 0; argp[i]; ++i) { - out << argp[i]; - } - } - return out.str(); -} - SystemExec::~SystemExec () { terminate (); @@ -323,6 +311,18 @@ interposer_thread (void *arg) { return 0; } +string +SystemExec::to_s () const +{ + stringstream out; + if (argp) { + for (int i = 0; argp[i]; ++i) { + out << argp[i] << " "; + } + } + return out.str(); +} + #ifdef PLATFORM_WINDOWS /* Windows Process */ /* HELPER FUNCTIONS */ |