aboutsummaryrefslogtreecommitdiffstats
path: root/fastos/src/vespa/fastos/process.h
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-03-01 21:00:58 +0100
committerGitHub <noreply@github.com>2022-03-01 21:00:58 +0100
commit6dd5ec32de99b3ad560d9314db509f6dbe1929cd (patch)
tree15a64506dbc17ef8e798db951dda3bed1962d1a2 /fastos/src/vespa/fastos/process.h
parent470b59dd5a402414601e37bb7ece9984d42b8653 (diff)
parent5c079f801e1cc17834b7621492f319f9eba9f283 (diff)
Merge pull request #21481 from vespa-engine/balder/gc-unused-code-1v7.553.2v7.552.18
GC unused code.
Diffstat (limited to 'fastos/src/vespa/fastos/process.h')
-rw-r--r--fastos/src/vespa/fastos/process.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/fastos/src/vespa/fastos/process.h b/fastos/src/vespa/fastos/process.h
index 25d5224817a..f520fcd30f8 100644
--- a/fastos/src/vespa/fastos/process.h
+++ b/fastos/src/vespa/fastos/process.h
@@ -47,19 +47,12 @@ class FastOS_ApplicationInterface;
*/
class FastOS_ProcessInterface
{
-private:
- FastOS_ProcessInterface(const FastOS_ProcessInterface&);
- FastOS_ProcessInterface &operator=(const FastOS_ProcessInterface &);
-
protected:
std::string _cmdLine;
- bool _pipeStdin;
-
FastOS_ProcessRedirectListener *_stdoutListener;
FastOS_ProcessRedirectListener *_stderrListener;
- int _bufferSize;
public:
FastOS_ProcessInterface *_next, *_prev;
static FastOS_ApplicationInterface *_app;
@@ -74,17 +67,16 @@ public:
* Constructor. Does not start the process, use @ref Create or
* @ref CreateWithShell to actually start the process.
* @param cmdLine Command line
- * @param pipeStdin set to true in order to redirect stdin
* @param stdoutListener non-nullptr to redirect stdout
* @param stderrListener non-nullptr to redirect stderr
* @param bufferSize Size of redirect buffers
*/
FastOS_ProcessInterface (const char *cmdLine,
- bool pipeStdin = false,
FastOS_ProcessRedirectListener *stdoutListener = nullptr,
- FastOS_ProcessRedirectListener *stderrListener = nullptr,
- int bufferSize = 65535);
+ FastOS_ProcessRedirectListener *stderrListener = nullptr);
+ FastOS_ProcessInterface(const FastOS_ProcessInterface&) = delete;
+ FastOS_ProcessInterface &operator=(const FastOS_ProcessInterface &) = delete;
/**
* Destructor.
* If @ref Wait has not been called yet, it is called here.