私はLinux/Raspberry PIの新機能です。Raspbian(jessie)open new terminalウィンドウ
"cvlc music.mp3"(VLC PLAYER)のようなコマンドは、再生が終了するまでシェルをブロックするので、新しいシェルウィンドウでシェルスクリプトからコマンドを実行します。
ので、別のシェルに
を再生コマンドをエクスポートするためにいいだろうが、この正しいですか? gnome-terminalの& &は、私は2 dumnmyシェルスクリプトを作成し、テストの目的のために分布
のためのオプションであるように思われませんlxterminal:
[start.sh]
#!/bin/sh
lxterminal\
--title="MyScriptWindow" \
-e "bash -c ./exe.sh;bash"\
[exe.sh]
#!/bin/sh
echo "Hello World"
[出力]
[email protected]:/home/pi# ./start.sh
(lxterminal:1315): Gtk-WARNING **: cannot open display: