Interface OsCommand


@Deprecated(since="3.1.0", forRemoval=true) @KiwiDeprecated(replacedBy="org.kiwiproject.base.process.OsCommand", reference="https://github.com/kiwiproject/kiwi/issues/1026", removeAt="4.0.0") public interface OsCommand
Deprecated, for removal: This API element is subject to removal in a future version.
replaced by OsCommand
Interface that describes a simple contract for an operating system command.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a list containing the command and all its arguments, which can then be used to construct a ProcessBuilder.
  • Method Details

    • getCommandParts

      List<String> getCommandParts()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a list containing the command and all its arguments, which can then be used to construct a ProcessBuilder.
      Returns:
      a list of command arguments
      See Also: