
com.powsybl.computation.slurm.CommandExecutor Maven / Gradle / Ivy
/**
* Copyright (c) 2019, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.powsybl.computation.slurm;
/**
* Simple interface to execute shell commands, 1 at a time.
*
* @author Sylvain Leclerc
*/
interface CommandExecutor extends AutoCloseable {
CommandResult execute(String command);
@Override
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy