Jump to Post
One solution would be putenv.
import os uname="Some uname value" os.putenv("UNAME",uname) os.system("./test.sh")
All 8 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.