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 6 matches
forum.vmspython.org Forum Index
Author Message
  Topic: subprocess.Popen stalls with stdout defined, python 2.7.12
voalp

Replies: 3
Views: 441

PostForum: Python for OpenVMS   Posted: Fri Aug 30, 2019 2:11 pm   Subject: subprocess.Popen stalls with stdout defined, python 2.7.12
Hello jfp,

I did a workaround and impemented starting processes with your module vms.starlet ( crembx, getdviw, creprc ). The workaround fits my needs but it is simpler than the Popen class.

I t ...
  Topic: Module rdb, rdb.dbapi2
voalp

Replies: 1
Views: 322

PostForum: Python for OpenVMS   Posted: Fri Aug 30, 2019 1:49 pm   Subject: Module rdb, rdb.dbapi2
Hallo jfp

I am 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 VMS --- very impressive ...
  Topic: subprocess.Popen stalls with stdout defined, python 2.7.12
voalp

Replies: 3
Views: 441

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: 810

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: 810

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: 810

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