I had a command in python script as below:
start_command = [
"load=" + location + "/lib/abc " + "conf=myconf " +
location + "/bin/mysqld "
"--defaults-file=" + location + "/var/myfile.cnf "
]
I want to push the second part of the code as a variable(connect_str) & concatenate in start command. but it's not working . Is this because of escape character?
connect_str="conf=myconf " +
location + "/bin/mysqld "
"--defaults-file=" + location + "/var/myfile.cnf "
start_command = [
"load=" + location + "/lib/abc " + connect_str