Python:文字列をshellの引数で使えるようにエスケープする
凡例
import shlex
shlex.quote(文字列)
※shellに渡す個々の引数に対して実行する必要がある
参考
shlex — …
import shlex
shlex.quote(文字列)
※shellに渡す個々の引数に対して実行する必要がある
shlex — …
yum install -y cmake
curl -SL …
java-XX-openjdk パッケージと java-XX -openjdk-devel パッケージの違い
openjdk は openjdk-devel に含まれている
yum …
<dependency>
<groupId>org.apache.commons</groupId> …
root ユーザーで以下のコマンドを実行する
passwd
ssh …
openssl rand -hex byte数
openssl rand -hex 32 …
Javaで複数ファイルを開く処理を実行した際に以下のようなエラーが発生
...
Caused by: java.util.concurrent.ExecutionException: …
Javaで複数ファイルを開く処理を実行した際に以下のようなエラーが発生
...
Caused by: java.util.concurrent.ExecutionException: …
Windows 10 用 Windows Subsystem for Linux のインストー …
curl https://bootstrap.pypa.io/get-pip.py | sudo python
pip …