{"action":"opened","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/2417","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/2417/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/2417/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/2417/events","html_url":"https://github.com/eclipse/che/issues/2417","id":176357822,"number":2417,"title":"Double printing in outputs using echo command","user":{"login":"slemeur","id":1636769,"avatar_url":"https://avatars.githubusercontent.com/u/1636769?v=3","gravatar_id":"","url":"https://api.github.com/users/slemeur","html_url":"https://github.com/slemeur","followers_url":"https://api.github.com/users/slemeur/followers","following_url":"https://api.github.com/users/slemeur/following{/other_user}","gists_url":"https://api.github.com/users/slemeur/gists{/gist_id}","starred_url":"https://api.github.com/users/slemeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slemeur/subscriptions","organizations_url":"https://api.github.com/users/slemeur/orgs","repos_url":"https://api.github.com/users/slemeur/repos","events_url":"https://api.github.com/users/slemeur/events{/privacy}","received_events_url":"https://api.github.com/users/slemeur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/che/labels/kind/bug","name":"kind/bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-12T11:58:18Z","updated_at":"2016-09-12T11:58:18Z","closed_at":null,"body":"When doing an echo in the console, the output is printed two times.\r\n\r\n**Reproduction Steps:**\r\n\r\n1. Go into the \"Edit Commands\" \r\n2. Create a new \"custom command\", it has the instructions to do an \"Hello\". \r\n3. Run this command\r\n\r\n**Expected behavior:**\r\n\r\nThe message is printed one time in the outputs panel.\r\n\r\n**Observed behavior:**\r\n\r\nThe message is printed two times in the console.\r\nAdding an \"sleep 0.2s &&\" before the commande seems to solve the issue. Sounds as a race condition problem.\r\n\r\nSee the attached recording:\r\n![bug-double-output](https://cloud.githubusercontent.com/assets/1636769/18435013/eeb887f2-78f0-11e6-92dd-057844682f16.gif)\r\n\r\n\r\n**Che version:**    4.7.2\r\n**Che install:**   cli, Bitnami, Codenvy   \r\n\r\n**Additional information:**\r\n\r\n* Problem started happening recently, didn't happen in an older version of Che: Yes\r\n* Problem can be reliably reproduced, doesn't happen randomly: Yes\r\n"}}
{"actor":{"display_login":"slemeur"}}