Passing a space-separated System Property via a shell script doesn't work

前端 未结 3 1863
灰色年华
灰色年华 2020-12-11 17:32

I have this bash file:

#/bin/bash

PROP=\"-Dprop=foo bar\"

java $PROP -jar Foo.jar

So, what I want to do here is pass a space-separated li

3条回答
提交回复
热议问题