Hub
Pricing About
ComponentComponent

Command prompt executor

Command promptShell
alesso profile image
Versionv1.001Latest, created on 
Jul 14, 2024 4:09 PM
Drag & drop
Like
Use or download

This component runs a specified command line in a given working directory using the local command line processor.

It follows an example on executing shell commands via a Java Snippet Node at [Shell Command in knime](https://forum.knime.com/t/shell-command-in-knime/6709/12) (discussed in 2014). I needed to build it to get functionality equivalent to KNIME NGS tools "Bash Node", which is not available after release of KNIME Analytics Platform version 4.7. Documentation from [Class ProcessBuilder](https://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html) was enlighting.

Component details

Output ports
  1. Type: Table
    Results
    The process's resulting standard output and exit code.
  2. Type: Table
    Error Message
    The process's error message and exit code.

Used extensions & nodes

Created with KNIME Analytics Platform version 5.3.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 5.1.0, 5.3.0

    knime
  • Go to item
    KNIME Column Expressions (Labs)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits