{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift-package-manager/pulls/comments/126085845","pull_request_review_id":48537114,"id":126085845,"diff_hunk":"@@ -128,9 +163,18 @@ public class SwiftRunTool: SwiftTool<RunToolOptions> {\n     }\n     \n     /// Executes the executable at the specified path.\n-    private func run(_ excutablePath: AbsolutePath) throws {\n-        let pathRelativeToWorkingDirectory = excutablePath.relative(to: originalWorkingDirectory)\n-        try exec(path: excutablePath.asString, args: [pathRelativeToWorkingDirectory.asString] + options.arguments)\n+    private func run(_ excutablePath: AbsolutePath, arguments: [String]) throws {\n+        let pathRelativeToWorkingDirectory = excutablePath.relative(to: currentWorkingDirectory)","path":"Sources/Commands/SwiftRunTool.swift","position":65,"original_position":65,"commit_id":"3c00394c0f5f178bfe09847aa9fe233ecadf577c","original_commit_id":"3c00394c0f5f178bfe09847aa9fe233ecadf577c","user":{"login":"aciidb0mb3r","id":4136295,"avatar_url":"https://avatars3.githubusercontent.com/u/4136295?v=3","gravatar_id":"","url":"https://api.github.com/users/aciidb0mb3r","html_url":"https://github.com/aciidb0mb3r","followers_url":"https://api.github.com/users/aciidb0mb3r/followers","following_url":"https://api.github.com/users/aciidb0mb3r/following{/other_user}","gists_url":"https://api.github.com/users/aciidb0mb3r/gists{/gist_id}","starred_url":"https://api.github.com/users/aciidb0mb3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aciidb0mb3r/subscriptions","organizations_url":"https://api.github.com/users/aciidb0mb3r/orgs","repos_url":"https://api.github.com/users/aciidb0mb3r/repos","events_url":"https://api.github.com/users/aciidb0mb3r/events{/privacy}","received_events_url":"https://api.github.com/users/aciidb0mb3r/received_events","type":"User","site_admin":false},"body":"Shouldn't this be original working directory?","created_at":"2017-07-07T07:36:08Z","updated_at":"2017-07-07T07:36:08Z","html_url":"https://github.com/apple/swift-package-manager/pull/1258#discussion_r126085845","pull_request_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258","_links":{"self":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/comments/126085845"},"html":{"href":"https://github.com/apple/swift-package-manager/pull/1258#discussion_r126085845"},"pull_request":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258"}}},"pull_request":{"url":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258","id":128854690,"html_url":"https://github.com/apple/swift-package-manager/pull/1258","diff_url":"https://github.com/apple/swift-package-manager/pull/1258.diff","patch_url":"https://github.com/apple/swift-package-manager/pull/1258.patch","issue_url":"https://api.github.com/repos/apple/swift-package-manager/issues/1258","number":1258,"state":"open","locked":false,"title":"Redirect `swift run file.swift` to `swift file.swift`","user":{"login":"hartbit","id":325519,"avatar_url":"https://avatars2.githubusercontent.com/u/325519?v=3","gravatar_id":"","url":"https://api.github.com/users/hartbit","html_url":"https://github.com/hartbit","followers_url":"https://api.github.com/users/hartbit/followers","following_url":"https://api.github.com/users/hartbit/following{/other_user}","gists_url":"https://api.github.com/users/hartbit/gists{/gist_id}","starred_url":"https://api.github.com/users/hartbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartbit/subscriptions","organizations_url":"https://api.github.com/users/hartbit/orgs","repos_url":"https://api.github.com/users/hartbit/repos","events_url":"https://api.github.com/users/hartbit/events{/privacy}","received_events_url":"https://api.github.com/users/hartbit/received_events","type":"User","site_admin":false},"body":"https://bugs.swift.org/browse/SR-5332","created_at":"2017-07-04T20:31:48Z","updated_at":"2017-07-07T07:36:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea97b16346715d6722b5046b81b16f5033eb59fa","assignee":{"login":"aciidb0mb3r","id":4136295,"avatar_url":"https://avatars3.githubusercontent.com/u/4136295?v=3","gravatar_id":"","url":"https://api.github.com/users/aciidb0mb3r","html_url":"https://github.com/aciidb0mb3r","followers_url":"https://api.github.com/users/aciidb0mb3r/followers","following_url":"https://api.github.com/users/aciidb0mb3r/following{/other_user}","gists_url":"https://api.github.com/users/aciidb0mb3r/gists{/gist_id}","starred_url":"https://api.github.com/users/aciidb0mb3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aciidb0mb3r/subscriptions","organizations_url":"https://api.github.com/users/aciidb0mb3r/orgs","repos_url":"https://api.github.com/users/aciidb0mb3r/repos","events_url":"https://api.github.com/users/aciidb0mb3r/events{/privacy}","received_events_url":"https://api.github.com/users/aciidb0mb3r/received_events","type":"User","site_admin":false},"assignees":[{"login":"aciidb0mb3r","id":4136295,"avatar_url":"https://avatars3.githubusercontent.com/u/4136295?v=3","gravatar_id":"","url":"https://api.github.com/users/aciidb0mb3r","html_url":"https://github.com/aciidb0mb3r","followers_url":"https://api.github.com/users/aciidb0mb3r/followers","following_url":"https://api.github.com/users/aciidb0mb3r/following{/other_user}","gists_url":"https://api.github.com/users/aciidb0mb3r/gists{/gist_id}","starred_url":"https://api.github.com/users/aciidb0mb3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aciidb0mb3r/subscriptions","organizations_url":"https://api.github.com/users/aciidb0mb3r/orgs","repos_url":"https://api.github.com/users/aciidb0mb3r/repos","events_url":"https://api.github.com/users/aciidb0mb3r/events{/privacy}","received_events_url":"https://api.github.com/users/aciidb0mb3r/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258/commits","review_comments_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258/comments","review_comment_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-package-manager/issues/1258/comments","statuses_url":"https://api.github.com/repos/apple/swift-package-manager/statuses/3c00394c0f5f178bfe09847aa9fe233ecadf577c","head":{"label":"hartbit:swift-run-file","ref":"swift-run-file","sha":"3c00394c0f5f178bfe09847aa9fe233ecadf577c","user":{"login":"hartbit","id":325519,"avatar_url":"https://avatars2.githubusercontent.com/u/325519?v=3","gravatar_id":"","url":"https://api.github.com/users/hartbit","html_url":"https://github.com/hartbit","followers_url":"https://api.github.com/users/hartbit/followers","following_url":"https://api.github.com/users/hartbit/following{/other_user}","gists_url":"https://api.github.com/users/hartbit/gists{/gist_id}","starred_url":"https://api.github.com/users/hartbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartbit/subscriptions","organizations_url":"https://api.github.com/users/hartbit/orgs","repos_url":"https://api.github.com/users/hartbit/repos","events_url":"https://api.github.com/users/hartbit/events{/privacy}","received_events_url":"https://api.github.com/users/hartbit/received_events","type":"User","site_admin":false},"repo":{"id":80256956,"name":"swift-package-manager","full_name":"hartbit/swift-package-manager","owner":{"login":"hartbit","id":325519,"avatar_url":"https://avatars2.githubusercontent.com/u/325519?v=3","gravatar_id":"","url":"https://api.github.com/users/hartbit","html_url":"https://github.com/hartbit","followers_url":"https://api.github.com/users/hartbit/followers","following_url":"https://api.github.com/users/hartbit/following{/other_user}","gists_url":"https://api.github.com/users/hartbit/gists{/gist_id}","starred_url":"https://api.github.com/users/hartbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartbit/subscriptions","organizations_url":"https://api.github.com/users/hartbit/orgs","repos_url":"https://api.github.com/users/hartbit/repos","events_url":"https://api.github.com/users/hartbit/events{/privacy}","received_events_url":"https://api.github.com/users/hartbit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hartbit/swift-package-manager","description":"The Package Manager for the Swift Programming Language","fork":true,"url":"https://api.github.com/repos/hartbit/swift-package-manager","forks_url":"https://api.github.com/repos/hartbit/swift-package-manager/forks","keys_url":"https://api.github.com/repos/hartbit/swift-package-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hartbit/swift-package-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hartbit/swift-package-manager/teams","hooks_url":"https://api.github.com/repos/hartbit/swift-package-manager/hooks","issue_events_url":"https://api.github.com/repos/hartbit/swift-package-manager/issues/events{/number}","events_url":"https://api.github.com/repos/hartbit/swift-package-manager/events","assignees_url":"https://api.github.com/repos/hartbit/swift-package-manager/assignees{/user}","branches_url":"https://api.github.com/repos/hartbit/swift-package-manager/branches{/branch}","tags_url":"https://api.github.com/repos/hartbit/swift-package-manager/tags","blobs_url":"https://api.github.com/repos/hartbit/swift-package-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hartbit/swift-package-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hartbit/swift-package-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/hartbit/swift-package-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hartbit/swift-package-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/hartbit/swift-package-manager/languages","stargazers_url":"https://api.github.com/repos/hartbit/swift-package-manager/stargazers","contributors_url":"https://api.github.com/repos/hartbit/swift-package-manager/contributors","subscribers_url":"https://api.github.com/repos/hartbit/swift-package-manager/subscribers","subscription_url":"https://api.github.com/repos/hartbit/swift-package-manager/subscription","commits_url":"https://api.github.com/repos/hartbit/swift-package-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/hartbit/swift-package-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/hartbit/swift-package-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/hartbit/swift-package-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/hartbit/swift-package-manager/contents/{+path}","compare_url":"https://api.github.com/repos/hartbit/swift-package-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hartbit/swift-package-manager/merges","archive_url":"https://api.github.com/repos/hartbit/swift-package-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hartbit/swift-package-manager/downloads","issues_url":"https://api.github.com/repos/hartbit/swift-package-manager/issues{/number}","pulls_url":"https://api.github.com/repos/hartbit/swift-package-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/hartbit/swift-package-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/hartbit/swift-package-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hartbit/swift-package-manager/labels{/name}","releases_url":"https://api.github.com/repos/hartbit/swift-package-manager/releases{/id}","deployments_url":"https://api.github.com/repos/hartbit/swift-package-manager/deployments","created_at":"2017-01-28T00:15:08Z","updated_at":"2017-01-28T00:15:10Z","pushed_at":"2017-07-06T22:42:15Z","git_url":"git://github.com/hartbit/swift-package-manager.git","ssh_url":"git@github.com:hartbit/swift-package-manager.git","clone_url":"https://github.com/hartbit/swift-package-manager.git","svn_url":"https://github.com/hartbit/swift-package-manager","homepage":"","size":6290,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apple:master","ref":"master","sha":"a58dff7f414f67e1e9960162de12f8386542cb24","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars3.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":44840041,"name":"swift-package-manager","full_name":"apple/swift-package-manager","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars3.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-package-manager","description":"The Package Manager for the Swift Programming Language","fork":false,"url":"https://api.github.com/repos/apple/swift-package-manager","forks_url":"https://api.github.com/repos/apple/swift-package-manager/forks","keys_url":"https://api.github.com/repos/apple/swift-package-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-package-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-package-manager/teams","hooks_url":"https://api.github.com/repos/apple/swift-package-manager/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-package-manager/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-package-manager/events","assignees_url":"https://api.github.com/repos/apple/swift-package-manager/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-package-manager/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-package-manager/tags","blobs_url":"https://api.github.com/repos/apple/swift-package-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-package-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-package-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-package-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-package-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-package-manager/languages","stargazers_url":"https://api.github.com/repos/apple/swift-package-manager/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-package-manager/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-package-manager/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-package-manager/subscription","commits_url":"https://api.github.com/repos/apple/swift-package-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-package-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-package-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-package-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-package-manager/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-package-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-package-manager/merges","archive_url":"https://api.github.com/repos/apple/swift-package-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-package-manager/downloads","issues_url":"https://api.github.com/repos/apple/swift-package-manager/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-package-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-package-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-package-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-package-manager/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-package-manager/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift-package-manager/deployments","created_at":"2015-10-23T21:41:12Z","updated_at":"2017-07-07T02:53:43Z","pushed_at":"2017-07-07T07:33:51Z","git_url":"git://github.com/apple/swift-package-manager.git","ssh_url":"git@github.com:apple/swift-package-manager.git","clone_url":"https://github.com/apple/swift-package-manager.git","svn_url":"https://github.com/apple/swift-package-manager","homepage":"","size":5902,"stargazers_count":5614,"watchers_count":5614,"language":"Swift","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":552,"mirror_url":null,"open_issues_count":9,"forks":552,"open_issues":9,"watchers":5614,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258"},"html":{"href":"https://github.com/apple/swift-package-manager/pull/1258"},"issue":{"href":"https://api.github.com/repos/apple/swift-package-manager/issues/1258"},"comments":{"href":"https://api.github.com/repos/apple/swift-package-manager/issues/1258/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/1258/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-package-manager/statuses/3c00394c0f5f178bfe09847aa9fe233ecadf577c"}}}}
{"actor":{"display_login":"aciidb0mb3r"}}