{"action":"created","issue":{"url":"https://api.github.com/repos/original-male/non/issues/158","labels_url":"https://api.github.com/repos/original-male/non/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/original-male/non/issues/158/comments","events_url":"https://api.github.com/repos/original-male/non/issues/158/events","html_url":"https://github.com/original-male/non/issues/158","id":73851054,"number":158,"title":"[nsm-proxy] input arguments","user":{"login":"rhetr","id":4017049,"avatar_url":"https://avatars.githubusercontent.com/u/4017049?v=3","gravatar_id":"","url":"https://api.github.com/users/rhetr","html_url":"https://github.com/rhetr","followers_url":"https://api.github.com/users/rhetr/followers","following_url":"https://api.github.com/users/rhetr/following{/other_user}","gists_url":"https://api.github.com/users/rhetr/gists{/gist_id}","starred_url":"https://api.github.com/users/rhetr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhetr/subscriptions","organizations_url":"https://api.github.com/users/rhetr/orgs","repos_url":"https://api.github.com/users/rhetr/repos","events_url":"https://api.github.com/users/rhetr/events{/privacy}","received_events_url":"https://api.github.com/users/rhetr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-07T05:33:13Z","updated_at":"2015-05-07T06:20:55Z","closed_at":null,"body":"is there a way to pass an executable name into nsm-proxy?"},"comment":{"url":"https://api.github.com/repos/original-male/non/issues/comments/99735291","html_url":"https://github.com/original-male/non/issues/158#issuecomment-99735291","issue_url":"https://api.github.com/repos/original-male/non/issues/158","id":99735291,"user":{"login":"rhetr","id":4017049,"avatar_url":"https://avatars.githubusercontent.com/u/4017049?v=3","gravatar_id":"","url":"https://api.github.com/users/rhetr","html_url":"https://github.com/rhetr","followers_url":"https://api.github.com/users/rhetr/followers","following_url":"https://api.github.com/users/rhetr/following{/other_user}","gists_url":"https://api.github.com/users/rhetr/gists{/gist_id}","starred_url":"https://api.github.com/users/rhetr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhetr/subscriptions","organizations_url":"https://api.github.com/users/rhetr/orgs","repos_url":"https://api.github.com/users/rhetr/repos","events_url":"https://api.github.com/users/rhetr/events{/privacy}","received_events_url":"https://api.github.com/users/rhetr/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T06:20:55Z","updated_at":"2015-05-07T06:20:55Z","body":"I wrote a script called \"seq24-nsm\" that can be run with nsm-proxy to get seq24 to automatically save inside the nsm-proxy folder:\r\n\r\n    #!/bin/bash \r\n    #filename: seq24-nsm\r\n\r\n    if [ -z \"$NSM_SESSION_NAME\" ]; then\r\n            echo 'must be run under nsm-proxy'\r\n        exit 0\r\n    fi\r\n\r\n    trap 'kill -TERM $PID' TERM INT\r\n    if ! [ -a \"$NSM_CLIENT_ID.midi\" ]; then\r\n        echo 'creating empty midi file'\r\n        cp \"$HOME/.local/share/seq24/blank.midi\" \"$NSM_CLIENT_ID.midi\"\r\n    fi\r\n    seq24 \"$NSM_CLIENT_ID.midi\" &\r\n    PID=$!\r\n    wait $PID\r\n    trap - TERM INT\r\n    wait $PID\r\n    EXIT_STATUS=$?\r\n\r\ninstead of having to run nsm-proxy and then manually type in seq24-nsm into the executable name I'd like to do something like `nsm-proxy -e seq24-nsm` or `EXEC=seq24-nsm nsm-proxy`."}}