問題タブ [xdgutils]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
1191 参照

python - xdg-open: 開く方法がありません

xdg-openubuntuで使ってディレクトリを開こうとした

xdg-open ./dirターミナルで実行すると機能します。

を使用してディレクトリを開く Web アプリがあります。xdg-open

端末からアプリを起動する(run --> flask run)と、機能し、すべてのディレクトリが開きます

しかし、NginxとGunicornを使用して本番モードで起動すると、次のように返されます:

非グラフィカル端末で xdg-open を実行した状況とまったく同じです( alt+ctrl+f1)

私は何をすべきか?