add user as parameter
This commit is contained in:
parent
8e292aab8f
commit
9b99afa371
@ -33,7 +33,8 @@ class command():
|
|||||||
|
|
||||||
def _threadRun(self):
|
def _threadRun(self):
|
||||||
try:
|
try:
|
||||||
p = Popen(self.scriptPath , stdout=PIPE, stderr=PIPE, shell=True)
|
callstring = self.scriptPath + ' ' + self.env['general']['currUser']
|
||||||
|
p = Popen(callstring , stdout=PIPE, stderr=PIPE, shell=True)
|
||||||
stdout, stderr = p.communicate()
|
stdout, stderr = p.communicate()
|
||||||
self.env['runtime']['outputManager'].interruptOutput()
|
self.env['runtime']['outputManager'].interruptOutput()
|
||||||
screenEncoding = self.env['runtime']['settingsManager'].getSetting('screen', 'encoding')
|
screenEncoding = self.env['runtime']['settingsManager'].getSetting('screen', 'encoding')
|
||||||
|
Loading…
Reference in New Issue
Block a user