forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 4 matches
forum.vmspython.org Forum Index
Author Message
  Topic: subprocess.Popen stalls with stdout defined, python 2.7.12
voalp

Replies: 0
Views: 117

PostForum: Python for OpenVMS   Posted: Thu Jun 27, 2019 8:06 am   Subject: subprocess.Popen stalls with stdout defined, python 2.7.12
I tried to start processes with Popen:
The goal is to execute a command and put the output in the file op.out.

import subprocess
fo=open("op.out","w+")
a=subprocess.Popen(&qu ...
  Topic: time.sleep(1.0) delay 1.2 seconds
voalp

Replies: 6
Views: 402

PostForum: Python for OpenVMS   Posted: Thu May 16, 2019 5:30 pm   Subject: time.sleep(1.0) delay 1.2 seconds
Hello JF

Works fine.
Now even starting threads every 0.05s is no problem.

Thank you very much !!!!!
javascript:emoticon('Very Happy')

Fritz
  Topic: time.sleep(1.0) delay 1.2 seconds
voalp

Replies: 6
Views: 402

PostForum: Python for OpenVMS   Posted: Wed May 15, 2019 1:36 pm   Subject: time.sleep(1.0) delay 1.2 seconds
Hallo jfp

Thank you for reply
I am a new to python.
I am very impressed about python and I am also very impressed about the potential using it on VMS.
I thank you very much bringing python to VM ...
  Topic: time.sleep(1.0) delay 1.2 seconds
voalp

Replies: 6
Views: 402

PostForum: Python for OpenVMS   Posted: Mon May 06, 2019 12:41 pm   Subject: time.sleep(1.0) delay 1.2 seconds
Using sleep in conjunction with threading the delay of 1s results in a delay 1.2 s.
I am using VMS 8.4-2L1 and python 2.7.12

the following python code

import time
import threading
import dat ...
 
Page 1 of 1
All times are GMT + 2 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group