{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/2457","repository_url":"https://api.github.com/repos/robotframework/robotframework","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/2457/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/2457/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/2457/events","html_url":"https://github.com/robotframework/robotframework/issues/2457","id":182338853,"number":2457,"title":"Robot Process library incorrectly buffers file pipe output","user":{"login":"IbraheemYSaleh","id":13438647,"avatar_url":"https://avatars.githubusercontent.com/u/13438647?v=3","gravatar_id":"","url":"https://api.github.com/users/IbraheemYSaleh","html_url":"https://github.com/IbraheemYSaleh","followers_url":"https://api.github.com/users/IbraheemYSaleh/followers","following_url":"https://api.github.com/users/IbraheemYSaleh/following{/other_user}","gists_url":"https://api.github.com/users/IbraheemYSaleh/gists{/gist_id}","starred_url":"https://api.github.com/users/IbraheemYSaleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IbraheemYSaleh/subscriptions","organizations_url":"https://api.github.com/users/IbraheemYSaleh/orgs","repos_url":"https://api.github.com/users/IbraheemYSaleh/repos","events_url":"https://api.github.com/users/IbraheemYSaleh/events{/privacy}","received_events_url":"https://api.github.com/users/IbraheemYSaleh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-11T18:29:56Z","updated_at":"2017-01-30T11:13:47Z","closed_at":"2017-01-30T11:13:47Z","body":"While running the \"Process.Run Process(command,stdout=/some/file,stderr=/some/file)\" keyword with external programs that generate a lot of stdout data, RobotFramework seems to buffer the output before piping it to the file causing the commands to execute significantly slower than it's OperatingSystem.Run or external shell counterpart.\n\nFor example, using a db-query script which generates 174 MB of stdout data piped directly to a file, Process.Run Process takes about 150 seconds to complete while the script normally completes in about 17 seconds in the shell or the OperatinSystem Run methods.\n- This issue is also seen with the Process.Start Process keyword\n- Using Python's Subprocess.Popen directly completes in the expected, fast time frame. It is only not working properly in RobotFramework's abstraction of the process control functionality!\n"},"comment":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/comments/276036641","html_url":"https://github.com/robotframework/robotframework/issues/2457#issuecomment-276036641","issue_url":"https://api.github.com/repos/robotframework/robotframework/issues/2457","id":276036641,"user":{"login":"pekkaklarck","id":114985,"avatar_url":"https://avatars.githubusercontent.com/u/114985?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkaklarck","html_url":"https://github.com/pekkaklarck","followers_url":"https://api.github.com/users/pekkaklarck/followers","following_url":"https://api.github.com/users/pekkaklarck/following{/other_user}","gists_url":"https://api.github.com/users/pekkaklarck/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkaklarck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkaklarck/subscriptions","organizations_url":"https://api.github.com/users/pekkaklarck/orgs","repos_url":"https://api.github.com/users/pekkaklarck/repos","events_url":"https://api.github.com/users/pekkaklarck/events{/privacy}","received_events_url":"https://api.github.com/users/pekkaklarck/received_events","type":"User","site_admin":false},"created_at":"2017-01-30T11:13:47Z","updated_at":"2017-01-30T11:13:47Z","body":"Any new info about this issue? Have you tested do you get same slowdown if you use subprocess directly using Jython? Do you have an example that demonstrates this problem that I could try running locally?"}}
{"actor":{"display_login":"pekkaklarck"}}