mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-11 19:58:49 -05:00
Add ResolveVariables()
Settings will be set to fixed values based on the values of the variables used.
This commit is contained in:
@@ -53,6 +53,13 @@ bool ProcessConfig::StartProcessDetached() const
|
||||
QString::fromStdString(WorkingDir()));
|
||||
}
|
||||
|
||||
void ProcessConfig::ResolveVariables()
|
||||
{
|
||||
_path.ResolveVariables();
|
||||
_workingDirectory.ResolveVariables();
|
||||
_args.ResolveVariables();
|
||||
}
|
||||
|
||||
std::variant<int, ProcessConfig::ProcStartError>
|
||||
ProcessConfig::StartProcessAndWait(int timeout) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user