System Call¶
The basis of any good system interface is the ability to actualy make such calls. Anoyingly, the C++ system interface has some odd requirements (C strings only, for example), this function overrides some of those requirements and removes a lot of boilerplate code.
-
inline void
JSL::systemCall(const std::string &command)¶ Uses C++’s std::system to run a command given by the inpt string, and checks for errors.
- Parameters:
command – The command to be executed by the system’s default command processor (/bin/bash, cmd.exe etc)