“$(python ~)”でファイル内でprintを使用すればシェルスクリプトに値を渡せるが、printを実行した分だけ取得できてしまう updated: 2025/12/10 created: 2025/12/10