--- a/src/relpipe-in-filesystem.cpp Mon Jan 20 23:47:54 2020 +0100
+++ b/src/relpipe-in-filesystem.cpp Tue Jan 21 00:19:56 2020 +0100
@@ -50,7 +50,7 @@
std::unique_ptr<FilesystemCommand> command;
if (configuration.parallelism == 1) command = std::make_unique<PlainFilesystemCommand>();
else command = std::make_unique<ParallelFilesystemCommand>();
- command->process(cin, cout, configuration);
+ command->process(STDIN_FILENO, STDOUT_FILENO, configuration);
resultCode = CLI::EXIT_CODE_SUCCESS;
} catch (RelpipeWriterException e) {
fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessge().c_str());