aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-06-28 18:20:15 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:32 +0200
commit5a13015ad932cffb092da080e8ea0ad2ce1f04a0 (patch)
treea896dabecfa59ea3f20697e6fc8332b90d8e27be /src
parente132c085d2438fec368bdaf26032037bc7e88d00 (diff)
Move compile_commands.json to project root directory, needed for IDEs
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 22198b5..ecbf9cd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -90,6 +90,9 @@ using namespace std::chrono;
// TODO: Add program command for generating compile_commands.json without compiling code, without using Ninja
+// TODO: Make Process::exec safe to use. Currently you pass an argument and it's run as a command, but the string can be escaped to perform malicious acts.
+// Process::exec should be modified to take a list of arguments to execute command with.
+
#if OS_FAMILY == OS_FAMILY_POSIX
#define fout std::cout
#define ferr std::cerr