refactor(Core): replace boost::filesystem with std::filesystem (#6800)
This commit is contained in:
parent
f79e23e887
commit
ebb80145b3
6 changed files with 24 additions and 28 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "Log.h"
|
||||
#include "Optional.h"
|
||||
#include "Util.h"
|
||||
#include <filesystem>
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/iostreams/copy.hpp>
|
||||
#include <boost/process/args.hpp>
|
||||
|
|
@ -82,7 +83,7 @@ namespace Acore
|
|||
{
|
||||
// With binding stdin
|
||||
return child{
|
||||
exe = boost::filesystem::absolute(executable).string(),
|
||||
exe = std::filesystem::absolute(executable).string(),
|
||||
args = argsVector,
|
||||
env = environment(boost::this_process::environment()),
|
||||
std_in = inputFile.get(),
|
||||
|
|
@ -94,7 +95,7 @@ namespace Acore
|
|||
{
|
||||
// Without binding stdin
|
||||
return child{
|
||||
exe = boost::filesystem::absolute(executable).string(),
|
||||
exe = std::filesystem::absolute(executable).string(),
|
||||
args = argsVector,
|
||||
env = environment(boost::this_process::environment()),
|
||||
std_in = boost::process::close,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue