{"action":"created","issue":{"url":"https://api.github.com/repos/silverbulleters/vanessa-behavior/issues/384","repository_url":"https://api.github.com/repos/silverbulleters/vanessa-behavior","labels_url":"https://api.github.com/repos/silverbulleters/vanessa-behavior/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/silverbulleters/vanessa-behavior/issues/384/comments","events_url":"https://api.github.com/repos/silverbulleters/vanessa-behavior/issues/384/events","html_url":"https://github.com/silverbulleters/vanessa-behavior/issues/384","id":174964304,"number":384,"title":"Исправить запуск WShell под Windows в режиме пользователя с пробелами","user":{"login":"allustin","id":55323,"avatar_url":"https://avatars.githubusercontent.com/u/55323?v=3","gravatar_id":"","url":"https://api.github.com/users/allustin","html_url":"https://github.com/allustin","followers_url":"https://api.github.com/users/allustin/followers","following_url":"https://api.github.com/users/allustin/following{/other_user}","gists_url":"https://api.github.com/users/allustin/gists{/gist_id}","starred_url":"https://api.github.com/users/allustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allustin/subscriptions","organizations_url":"https://api.github.com/users/allustin/orgs","repos_url":"https://api.github.com/users/allustin/repos","events_url":"https://api.github.com/users/allustin/events{/privacy}","received_events_url":"https://api.github.com/users/allustin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/silverbulleters/vanessa-behavior/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-04T19:03:14Z","updated_at":"2016-09-13T12:26:41Z","closed_at":"2016-09-13T12:26:41Z","body":"```Gherkin\r\n\r\nКонтекст:\r\n  Дано: версия 1.0.26\r\n\r\nСценарий: Запуск Vanessa Behavior\r\n  Допустим: пользователь Windows имеет временный каталог по адресу \"C:\\Users\\Alexey Lustin\\AppData\\Local\\Temp\\\"\r\n  Когда: Я запускаю Vanessa Behavior\r\n  Тогда: форма Behavior открыта без ошибок\r\n```\r\n\r\nошибка кроется например тут \r\n\r\nhttps://github.com/silverbulleters/vanessa-behavior/blob/develop/src/vanessa-behavior/Form/УправляемаяФорма/Форма.bsl#L6079\r\n\r\n> {ВнешняяОбработка.VanessaBehavior.Форма.УправляемаяФорма.Форма(6079)}: Ошибка при вызове метода контекста (Run)\r\n   WshShell.Run(ИмяВременнгоФайла + \" > \" + ИмяВременногоЛог,0,-1);\r\nпо причине:\r\nПроизошла исключительная ситуация (0x80070002)\r\n\r\nПримерное исправление\r\n\r\n```BSL\r\nПопытка\r\n\tWshShell = Новый COMОбъект(\"WScript.Shell\");\r\n\t\t\t\t\r\n\tКомандаЗапуска = Символ(34) + ИмяВременнгоФайла + Символ(34) + \" > \" + Символ(34) + ИмяВременногоЛог + Символ(34);\r\n\t\t\t\t\r\n\tWshShell.Run(КомандаЗапуска,0,-1);\r\n\r\nИсключение\t\t\t\t\t\r\n\tВызватьИсключение \"Внутренняя ошибка работы с временными файлами\r\n\t| \" + ИмяВременнгоФайла + \" \r\n\t| \" + ИмяВременногоЛог + \"\r\n\t| Полная строка запуска =\" + КомандаЗапуска + \"=\r\n\t| ошибка объекта WShell \r\n\t|\" + ОписаниеОшибки();\r\nКонецПопытки;\r\n```\r\n\r\nВообще стоитт сделать обертку над запуском WShell - так как таких мест несколько\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/silverbulleters/vanessa-behavior/issues/comments/246664992","html_url":"https://github.com/silverbulleters/vanessa-behavior/issues/384#issuecomment-246664992","issue_url":"https://api.github.com/repos/silverbulleters/vanessa-behavior/issues/384","id":246664992,"user":{"login":"Pr-Mex","id":8627416,"avatar_url":"https://avatars.githubusercontent.com/u/8627416?v=3","gravatar_id":"","url":"https://api.github.com/users/Pr-Mex","html_url":"https://github.com/Pr-Mex","followers_url":"https://api.github.com/users/Pr-Mex/followers","following_url":"https://api.github.com/users/Pr-Mex/following{/other_user}","gists_url":"https://api.github.com/users/Pr-Mex/gists{/gist_id}","starred_url":"https://api.github.com/users/Pr-Mex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pr-Mex/subscriptions","organizations_url":"https://api.github.com/users/Pr-Mex/orgs","repos_url":"https://api.github.com/users/Pr-Mex/repos","events_url":"https://api.github.com/users/Pr-Mex/events{/privacy}","received_events_url":"https://api.github.com/users/Pr-Mex/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T12:26:41Z","updated_at":"2016-09-13T12:26:41Z","body":"Решено. Закрываю."}}
{"actor":{"display_login":"Pr-Mex"}}