Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
native.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(WIN32)
4#include "windows/windows.h"
5#elif defined(__unix__)
6#include "unix/unix.h"
7#elif defined(__APPLE__)
8#include "mac/mac.h"
9#else
10# error "Error, unsupported platform"
11#endif
12
13#include <string>
14#include <vector>
15
16namespace dcn::native
17{
25 std::pair<int, std::string> runProcess(const std::string & command, std::vector<std::string> args = {});
26}
Definition native.h:17
std::pair< int, std::string > runProcess(const std::string &command, std::vector< std::string > args={})
Definition unix.cpp:7