{"title":"\u8efd\u3044 Shell \u3092\u4f5c\u3063\u305f","blog_title":"Unyablog.","author_url":"https://blog.hatena.ne.jp/nonylene/","provider_url":"https://hatena.blog","published":"2016-12-09 00:44:36","type":"rich","categories":["Linux","Shell"],"blog_url":"https://nonylene.hatenablog.jp/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnonylene.hatenablog.jp%2Fentry%2F2016%2F12%2F09%2F004436\" title=\"\u8efd\u3044 Shell \u3092\u4f5c\u3063\u305f - Unyablog.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"nonylene","version":"1.0","url":"https://nonylene.hatenablog.jp/entry/2016/12/09/004436","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/n/nonylene/20161209/20161209003000.png","width":"100%","description":"\u2193\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3067\u81ea\u5206\u3067\u3082\u30b5\u30af\u30c3\u3068\u4f5c\u308c\u305d\u3046\u306a\u306e\u3067\u4f5c\u3063\u3066\u307f\u305f\u3002 brennan.io \u540d\u524d\u306f nsh (nonylene shell \u306e\u7565)\u3002\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u305f\u3089\u5927\u4f53\u540c\u3058\u3088\u3046\u306a\u3082\u306e\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002 github.com \u8a18\u4e8b\u3067\u306f C \u3067\u66f8\u3044\u3066\u3044\u308b\u3051\u3069\u3001nsh \u3067\u306f Python3 \u3067\u66f8\u3044\u3066\u307f\u305f *1\u3002\u7d50\u5c40\u30d1\u30fc\u30b9\u30676\u5272\u3050\u3089\u3044\u5360\u3081\u3066\u3044\u3066\u3001\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306e\u306f\u3053\u306e\u90e8\u5206\u3060\u3051\u3002 def execute_line(args): pid = os.fork() if pid == 0: os.execvp(args[0], args) elif pid < 0: print(\"error wit\u2026"}