commandline option --version terminates --shell

Bug #588704 reported by Ruud van Eeghem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

I'm trying to write a wrapper that uses inkscape in shell mode. It is possible to execute inkscape in shell mode from the parent program and feeding it with command e.g. --file=xxx --output-png=xxx etc. This works fine. However if the command is the --version it is no longer possible to send more commands to inkscape. It appears as if (after processing --version) it stops reading from stdin.

I'm using Qt 4.6, more specifically the QProcess class. I experienced it first as though it wasn't possible to send multiple commands to inkscape.exe using QProcess. I first thought it was a bug in Qt until I removed the line sending the "--version" to the shell. Then suddenly I was able to sent multiple commands to inkscape. I therefore conclude it must be a bug in inkscape.

Tags: cli
su_v (suv-lp)
tags: added: cli
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape trunk revision 12322.
But IMHO, it's not a bug. When you run the command # inkscape --version, it shows the version and then quits. I see no reason why it should behave in shell mode.

Changed in inkscape:
importance: Undecided → Wishlist
Kris (kris-degussem)
Changed in inkscape:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.