Server Mode: Option to run Inkscape as a command line server
Bug #259303 reported by
Henrik Bohre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Jon A. Cruz |
Bug Description
This patch adds a --server command line option which makes Inkscape run in server mode accepting new command lines from stdin.
Note that the accepted command lines are identical to the common command lines, except that the inkscape command is omitted. Note also that some commands will quit the server, such as --version which exits on completion.
Example run:
inkscape --server
Inkscape 0.46+devel server mode. Type 'quit' to quit.
>/tmp/test.svg --export-dpi=300 --export-
DPI: 300
Background RRGGBBAA: ffffff00
Area 0:0:262:173 exported to 874 x 579 pixels (300 dpi)
Bitmap saved as: test.png
>quit
done
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in inkscape: | |
status: | Confirmed → In Progress |
tags: | added: cli |
To post a comment you must log in.
I don't think this option should be called --server, but --interactive since its basically an interactive terminal for doing commands.
Bohre, why do you think this patch is good too? If you are desiring to do batch operations, its easy to simulate the features and this just adds more bloat to inkscape.
I'm more interested in a patch that truly make inkscape run as lean as possible from commandline and/or in daemon mode for minimized startup/shutdown times...