{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fb-adb/issues/30","labels_url":"https://api.github.com/repos/facebook/fb-adb/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fb-adb/issues/30/comments","events_url":"https://api.github.com/repos/facebook/fb-adb/issues/30/events","html_url":"https://github.com/facebook/fb-adb/issues/30","id":109619476,"number":30,"title":"fput doesn't work","user":{"login":"tcmulcahy","id":2104594,"avatar_url":"https://avatars.githubusercontent.com/u/2104594?v=3","gravatar_id":"","url":"https://api.github.com/users/tcmulcahy","html_url":"https://github.com/tcmulcahy","followers_url":"https://api.github.com/users/tcmulcahy/followers","following_url":"https://api.github.com/users/tcmulcahy/following{/other_user}","gists_url":"https://api.github.com/users/tcmulcahy/gists{/gist_id}","starred_url":"https://api.github.com/users/tcmulcahy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcmulcahy/subscriptions","organizations_url":"https://api.github.com/users/tcmulcahy/orgs","repos_url":"https://api.github.com/users/tcmulcahy/repos","events_url":"https://api.github.com/users/tcmulcahy/events{/privacy}","received_events_url":"https://api.github.com/users/tcmulcahy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-03T11:47:11Z","updated_at":"2015-10-09T17:43:11Z","closed_at":null,"body":"(also I believe the docs are incorrect: \"Retrieve a file from device.\" Probably should be \"Store a file on the device\")\r\n\r\nThis is what I get when I use it:\r\n\r\n$ fb-adb fput /tmp/libkeyboard.so /data/local/tmp/foo.so\r\nfb-adb fput: execvpe(\"/proc/self/exe\"): No such file or directory"},"comment":{"url":"https://api.github.com/repos/facebook/fb-adb/issues/comments/146943292","html_url":"https://github.com/facebook/fb-adb/issues/30#issuecomment-146943292","issue_url":"https://api.github.com/repos/facebook/fb-adb/issues/30","id":146943292,"user":{"login":"jbeich","id":11153579,"avatar_url":"https://avatars.githubusercontent.com/u/11153579?v=3","gravatar_id":"","url":"https://api.github.com/users/jbeich","html_url":"https://github.com/jbeich","followers_url":"https://api.github.com/users/jbeich/followers","following_url":"https://api.github.com/users/jbeich/following{/other_user}","gists_url":"https://api.github.com/users/jbeich/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeich/subscriptions","organizations_url":"https://api.github.com/users/jbeich/orgs","repos_url":"https://api.github.com/users/jbeich/repos","events_url":"https://api.github.com/users/jbeich/events{/privacy}","received_events_url":"https://api.github.com/users/jbeich/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T17:43:11Z","updated_at":"2015-10-09T17:43:11Z","body":"Are you on Windows or OS X? I can reproduce it with both `fb-adb fput` and `fb-adb fget` on FreeBSD where the issue disappears after mounting `/proc` filesystem _locally_.\r\n\r\nBetter not repeat **adb** mess of platform-specific code: [Windows](https://github.com/android/platform_system_core/blob/23fe7be/adb/adb.cpp#L658), [OS X](https://github.com/android/platform_system_core/blob/23fe7be/adb/get_my_path_darwin.cpp), [Linux](https://github.com/android/platform_system_core/blob/23fe7be/adb/get_my_path_linux.cpp), [FreeBSD](https://svnweb.freebsd.org/ports/head/devel/android-tools-adb/files/get_my_path_freebsd.cpp?revision=398924&view=co) while it could be generic[[1]](http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/adb/patches/patch-adb_get_my_path_generic_c?rev=1.1.1.1&content-type=text/plain)[[2]](http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/adb/patches/patch-adb_adb_c?rev=1.1.1.1&content-type=text/plain)."}}