Project

General

Profile

Actions

Feature #54

closed

Give script name as parameter in command line mode

Added by Anonymous over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
2011-11-03
Due date:
% Done:

0%

Estimated time:

Description

Currently it is possible to run a script only by using the command "script" after the command line mode has started. It would be nice to be able to give a specific script as a parameter when executing ETC.

Actions #1

Updated by Anonymous over 12 years ago

  • Status changed from New to Resolved

Implemented the feature and it will be available on version 0.3.3. With the new changes the user can give a file (or the path if the file is not in the same directory) as a parameter and the ETC will run it as a script. The option "-e" can be used so ETC will exit directly after the execution of the script. If this option is not given, after execution of the script the ETC will continue in command line mode. For example, to run a script named script.etc and exit after execution the following command can be used:

java -Detc.uiMode=cl -jar ETC-Jar-0.3.3.jar -e script.etc

Note that scripts cannot be used in GUI mode.

Actions #2

Updated by Anonymous about 12 years ago

Closing the feature because its functionality has been confirmed to work on 0.4.0

Actions #3

Updated by Anonymous about 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF