CommandLine overview - Cloud - 8.0

Talend Data Fabric Studio User Guide

Version
Cloud
8.0
Language
English (United States)
EnrichDitaval
Data Fabric
Product
Talend Data Fabric
Module
Talend Studio
Content
Design and Development

The CommandLine offers the same basic functionalities as Talend Studio and it is used to generate and export the Jobs developed with Talend Studio onto the Job servers, or export Services, Routes and data service Jobs onto Runtime servers. To launch the CommandLine on Linux, you have to run the commandline-linux.sh file. To launch the CommandLine on Windows, you have to run the commandline.bat file.

Note: Before shutting down or rebooting Windows, you should ensure that JobSever and CommandLine services are not running.

The commandline file contains three different parts:

  • the name of the Talend Studio executable corresponding to your OS, for example: ./Talend-Studio-linux-gtk-x86

  • operating options, for example:

    • nosplash, no interface is displayed.
    • application org.talend.commandline.CommandLine, the application is launched in commandline mode.
    • consoleLog, the logs are displayed in the console.
    • data commandline-workspace, specify the path and name of the commandline workspace.
  • the operating mode, for example, shell or scriptFile /tmp/myscript.

If you want to modify the default settings, you can edit the file, and set it according to your need.

If you want to run your CommandLine in background on Linux, you first need to disable the shell. To do so:

  1. Edit the commandline.sh file.

  2. Add the --disableShellInput command.

  3. Save your file.

Then you can execute your CommandLine in background. To do so, do the following:

  1. Switch to the <CommandlinePath>.

  2. Enter the command ./commandline-linux.sh &.

Once the commands have been executed, you can close the CommandLine window and it will not exit the service.