![]() ![]() ![]() Outputs of siril on the pipe is a stream of one line text and formatted as follows: Also new in 1.2.0, a ping command will simply give a status return, indicating if siril is ready to process a command or already busy. ![]() Since version 1.2.0, the paths of the pipes can be configured with -r and -w options, which allows external programs to create them before starting Siril, typically with the mkfifo command. The pipes are named siril_command.in and siril_command.out and are available in /tmp on Unix-based systems. Whenever the command inputs pipe is closed or the cancel command is given, the running command is stopped as if the stop button was clicked on in the GUI. Only commands that are marked as scriptable can be used with this system. The protocol is quite simple: Siril receives commands and outputs some updates. The mode is activated using the -p command line argument. Starting with 0.9.10, a new mode has been introduced in which commands can be sent through a named pipe and logs and status can be obtained through another. The format of the expression is explained in details here and can be tested using the parse command. To execute the file from the GUI, add it to the configured script directories or from the GUI, use the token of the command line like commands ( preprocess, stack, and all save commands) can use file names containing variables coming from the FITS header. If you need to have spaces inside the arguments, you can use the quote or double quote, just like in a shell.Ĭommands can be typed in the command line at the bottom of Siril's main window.Īnother way is to put commands in a file and execute it as a script. The character is the delimiter between arguments. can be used instead of the full sequence name. If the currently loaded sequence (from GUI) is to be used, the special name. If files are not named in a way that Siril detects as a sequence, the command CONVERT will help. In general, commands that modify a single image work on the currently loaded image, so the use of the LOAD command is required in scripts, and commands that work on a sequence of images take the name of the sequence as argument. Siril has a command line in its graphical user interface and an ability to run scripts that are a list of commands, either from the graphical user interface or from the command line interface. 4 Siril command line functions reference. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |