Closed jyore closed 11 years ago
After some research, it may be best to use subprocess.call()
instead of os.system()
. The subprocess.call()
seems to be able to ignore the OS's quotation mark usage and pass in whatever is fed to it...basically the Windows shell cannot eat the quotes :D
Seems to occur because the double quotes are not getting added to the batch command. I think Windows shell is eating them!
jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
for the connection url of an h2 datasource. This becomes-1
in the xml%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n
, but the xml is getting set to%d %-5p %s%E%n
Seems to reassure the idea that the quotes are missing as JBoss CLI would interpret the
=
,{}
,[]
, and()
as command directives instead of raw input.