Command line ignored for the second window

[bug #712716]