diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-13 01:39:41 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-13 01:39:41 +0100 |
commit | 108528b63df447fe64ff443ee988335d02e9a98a (patch) | |
tree | 753d1f8d8f372389dbdb80fcc817c18ce0a8d610 /libs/pbd/system_exec.cc | |
parent | d814acbb8f3b48bc1165b8012da6ed0207ddb086 (diff) |
amend d814acb - SystemExec/Export debugging
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 */ |