在VMS上等待DCL中的后台子进程(waiting on background subprocesses in DCL on VMS)
我正在寻找一种方法来启动与DCL并行运行的几个后台进程。 我想等待他们全部完成,并知道他们是否都成功或至少一次失败。 这就像使用&并在bash中等待。
我读了spawn / nowait的文档,但是在产生多个子进程后我没有看到等待的方法。 我想我可以让subproceses在退出时写入文件并在睡眠循环中检查来自父文件的文件? 但是有更好/内置的方式吗?
I am looking for a way to launch several background processes to run in parallel with DCL. I would want to wait for them all to complete and know whether they all succeeded or at least one failed. This would be like using & and wait in bash.
I read the docs for spawn/nowait but I don't see a way to wait after spawning multiple subprocesses. I suppose I could have the subproceses write to a file when they exit and check the file from the parent in a sleep-loop? But is there a better/built-in way?
原文:https://stackoverflow.com/questions/14697745
最满意答案
如果我理解正确,只需添加
position: relative
对于.main-box
If I understood correctly, just add
position: relative
to.main-box
相关问答
更多-
如何在可滚动的div元素中使用CSS绝对位置(How to use CSS absolute position inside a scrollable div element)[2022-02-18]
你必须设置position: relative; 在父div上,让子元素相对于它移动。 实际情况是,只要未使用默认static位置,就可以将父div设置为任何用户定义的位置。 You must set position: relative; on the parent div to get the child elements to move in relation to it. The reality is, you can have the parent div set to any user-defi ... -
给你的div位置固定......绝对不会有帮助。 position: fixed; Give your div position fixed ... Absolute is not going to help. position: fixed;
-
看看这个: http : //jsfiddle.net/ZVL8W/3/ 无论屏幕大小如何,这都具有相同的高度。 .left-box { width: 100px; height: 100px; background-color: red; display: block; position:absolute; top:50%; left:0px; margin-top:-50px ...
-
如何在xaml WPF中的stackpanel或grid上设置绝对位置(How can set absolute position on stackpanel or grid in xaml WPF)[2023-10-10]
你必须使用Canvas来设置WPF中的绝对位置。 在窗口中的按钮的情况下,这是一个示例:图像不保留在绝对位置的div(使用CSS网格)(image does not remain within div with absolute position (using css grid))[2021-12-20]
如果我理解正确,只需添加position: relative对于.main-box https://jsfiddle.net/sp2mjbur/ If I understood correctly, just add position: relative to .main-box https://jsfiddle.net/sp2mjbur/CSS相对和绝对位置(CSS Relative and Absolute Postioning)[2022-07-17]
.header-pic必须有宽度。 我也把它集中在一起: .header-pic { margin: 0 auto; position: relative; width: 1100px; } .header-pic must have width. I also centered it: .header-pic { margin: 0 auto; position: relative; width: 1100px; }位置后的DIV:绝对(DIV after position:absolute)[2022-04-18]
如果要将元素放在绝对位置下方,则可以添加一个边距来向下一个元素减去“跳过”绝对项目的空间和存在所需的距离。 在代码中,该项目仍然在您的绝对项目下方,但仍然可视地显示在其下方。 If you are putting an element below the absolute position, you can add a margin to bump down your next element the distance required to "skip" the absolute item's space ...我已经使用jquery-ui draggable小部件来实现这一点。 $("#image").draggable({ containment: "parent" }); $("#image").on("dragstop", function(event, ui) { alert("mouse position: X:" + event.pageX + ", Y:" + event.pageY); }); .position-relative { position: relative; ...我宁愿不要让div完全定位,但如果你需要这种方式,那么试试这个: #throbber_status_info { color: black; position: absolute; left: 50%; transform: translateX(-50%); background-color: #dadada; margin: 0px auto; top: 53%; text-align: center; } 这里有一个小提琴来看它的行动。 I prefer not to ...当您将图片位置更改为absolute它会跳出页眉,然后您的div区域变为零。 所以现在你需要为它设置一个尺寸。 body{ width:100%; height:100%; margin: 0px; } #header { background:skyblue; position: relative; width:100%; height:190px; text-align:center; } #logo { position: abso ...相关文章
更多- 启动Storm各个后台进程
- 关于Hadoop中5个主要的守护进程的作用
- 如何使用vagrant在虚拟机安装Hadoop集群
- solr 管理后台使用
- android进程管理视频教程
- infoq 微信后台存储架构
- twitter storm 源码走读之5 -- worker进程内部消息传递处理和数据结构分析
- 微信招后台开发工程师、微信业务运维
- PunkSCAN
- 微信招后台开发工程师、微信业务运维
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)