#ifndef __NAPPLICATION_RUNCOMMANDFORPARSING_H__2024_11_27
#define __NAPPLICATION_RUNCOMMANDFORPARSING_H__2024_11_27

#include <functional>
#include <string>

using namespace std;

namespace NApplication {

/** Executes the given commandline and passes each line of output to lineProcessor. */
void runCommandForParsing(const string& command, const std::function<void(const std::string&)>& lineProcessor);

}

#endif // __NAPPLICATION_RUNCOMMANDFORPARSING_H__2024_11_27
