Skip to content

Commit

Permalink
silent curl
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Feb 1, 2024
1 parent 22793da commit 45eaf32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fiscodegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <regex>


static const std::string FISCODEGEN_VERSION = "0.1.5";
static const std::string FISCODEGEN_VERSION = "0.1.6";

struct FuzzySystem {
std::map<std::string, std::string> systemInfo;
Expand Down Expand Up @@ -298,7 +298,7 @@ bool downloadFile( std::string url, std::string destination )
const std::string filename = extractFilenameFromURL(url);
const std::string outFilename = "\"" + destination + "/" + filename + "\"";
std::cout << "- Downloading " << filename << " to " << outFilename << std::endl;
const std::string cmd = "curl -# -LJO " + url + " --output-dir " + destination;
const std::string cmd = "curl -sS -LJO " + url + " --output-dir " + destination + " > curl_log.txt 2>&1";
//std::cout << cmd << std::endl;
system( cmd.c_str() );
return true;
Expand Down

0 comments on commit 45eaf32

Please sign in to comment.