When I run the same command in a bash script it works. When I want to pass it to shell through Python's os.system
it complains because of the {and: characters.
import os
os.system('composer transaction submit -c admin@tutorial-network -d '{"$class": "org.acme.frame.auction.SetupDemo1"}'')
Shell Error:
os.system('composer transaction submit -c admin@tutorial-network -d '{"$class": "org.acme.frame.auction.SetupDemo1"}'')
^
SyntaxError: invalid syntax