jyore / jbclipy

Automation and simplification scripting for managing JBoss AS7/EAP6 instances
MIT License
0 stars 0 forks source link

Formatter for logger and Datasource Arguments not getting passed #4

Closed jyore closed 11 years ago

jyore commented 11 years ago

Seems to occur because the double quotes are not getting added to the batch command. I think Windows shell is eating them!

Seems to reassure the idea that the quotes are missing as JBoss CLI would interpret the =, {}, [], and () as command directives instead of raw input.

jyore commented 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