<p>That doesn't make sense, nothing in Geany is blocked.</p>
<p>Without <code>-i</code>, the first Geany command (with a particular config) will, create an instance with a window for editing and continue to run until the user quits it, just like any other GUI application.  It doesn't need any special explanation.</p>
<p>The <code>-i</code> option causes Geany to create an independent instance which displays a window and continues to run so the user can perform the editing, until the user tells it to quit, just like any other GUI application. This is explained in <a href="https://www.geany.org/manual/current/index.html#startup" rel="nofollow">startup</a> and the command options.</p>
<p>While the first instance without <code>-i</code> is still running any other Geany command without <code>-i</code> (but with the same config) will not create a window and will request the first instance to open the file and do the editing.  Since it has no window, so no way for a user to tell it to quit, and having asked the primary instance to do the editing work, it has nothing else to do, so it quits automatically.  As explained <a href="https://www.geany.org/manual/current/index.html#opening-files-from-the-command-line-in-a-running-instance" rel="nofollow">here</a>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1867#issuecomment-393500816">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ0okB-uqM2xx5QeVvZBg2l_PEb2fks5t39QigaJpZM4UUha1">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ2jsYBUfk_PzcIsDGvanoOzKHIdAks5t39QigaJpZM4UUha1.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/geany/geany/issues/1867#issuecomment-393500816","url":"https://github.com/geany/geany/issues/1867#issuecomment-393500816","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #1867: That doesn't make sense, nothing in Geany is blocked.  \r\n\r\nWithout `-i`, the first Geany command (with a particular config) will, create an instance with a window for editing and continue to run until the user quits it, just like any other GUI application.  It doesn't need any special explanation.\r\n\r\nThe `-i` option causes Geany to create an independent instance which displays a window and continues to run so the user can perform the editing, until the user tells it to quit, just like any other GUI application. This is explained in [startup](https://www.geany.org/manual/current/index.html#startup) and the command options.\r\n\r\nWhile the first instance without `-i` is still running any other Geany command without `-i` (but with the same config) will not create a window and will request the first instance to open the file and do the editing.  Since it has no window, so no way for a user to tell it to quit, and having asked the primary instance to do the editing work, it has nothing else to do, so it quits automatically.  As explained [here](https://www.geany.org/manual/current/index.html#opening-files-from-the-command-line-in-a-running-instance)."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1867#issuecomment-393500816"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647",
"title": "Re: [geany/geany] New start flag: --wait (#1867)",
"sections": [
{
"text": "",
"activityTitle": "**elextr**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@elextr",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1867,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1867\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1867#issuecomment-393500816"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 340924085\n}"
}
],
"themeColor": "26292E"
}</script>