{"id":439,"date":"2021-11-25T15:32:23","date_gmt":"2021-11-25T21:32:23","guid":{"rendered":"https:\/\/www.fayearchip.name\/?p=439"},"modified":"2021-11-25T15:32:23","modified_gmt":"2021-11-25T21:32:23","slug":"slinging-code-on-the-pi","status":"publish","type":"post","link":"https:\/\/www.fayebell.name\/?p=439","title":{"rendered":"Slinging code on the Pi"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I am working on making my python 3 script better. I am also adding a mode to control the venue lights.  I am getting used to <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>subprocess.run(\"command\", \"args\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">which is the more accepted way of calling other programs.  I am using it to call shell scripts to implement different things. I know I could call ssh directly&#8230;. or whatnot. I feel the shell scripts are the best way to go. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">take a look at my work in progress code at <a href=\"https:\/\/github.com\/rainfay\/sound_control\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/rainfay\/sound_control<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am working on making my python 3 script better. I am also adding a mode to control the venue lights. I am getting used to which is the more accepted way of calling other programs. I am using it &hellip; <a href=\"https:\/\/www.fayebell.name\/?p=439\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-439","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa1ntP-75","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts\/439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=439"}],"version-history":[{"count":1,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions"}],"predecessor-version":[{"id":440,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions\/440"}],"wp:attachment":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}