2021-7-31 · TProcess is a component that can be used to start and control other processes (programs/binaries). It contains a lot of options that control how the process is started. Many of these are Win32 specific, and have no effect on other platforms, so they should be used with care.
2017-7-11 · TProcess is a non-visual component on the System tab of the Component Palette that enables easy execution of external programs. Some of the benefits of using TProcess are that it is: Platform Independent. Capable of reading from stdout and writing to stdin. Possible to wait for a command to finish or let it run while your program moves on.
· Thanks Basile B but I didn''t try yours as I was a little unsure how to proceed with TProcess and eny''s was close to what I had established. Running my project in the same directory worked without any problem so I was thinking back in DOS days of CHDIR / CD. Eny''s solution was spot on. Thanks everyone for all the input.
· TProcess is NOT a shell, it doesn''t handle redirection via pipe operator, nor <, >, 2> etc. The best way is to call sh (or whatever your shell is) and pipe those string to the process (use the Input property) then read the output (using Output property). This sure is OS, actually shell, specific. You may want to put the platform dependent codes ...
2018-11-17 · Student-tProcess Regression with Student-Likelihoodt Qingtao Tangy, Li Niuz, Yisen Wangy, Tao Daiy, Wangpeng Any, Jianfei Caiz, Shu-Tao Xiay y Department of Computer Science and Technology, Tsinghua University, China z School of Computer Science and Engineering, Nanyang Technological University, Singapore ftqt15,dait14,wangys14,[email protected] .cn; …
· I recommend to test using only the class TProcess to control Powershell in Windows 12 or windows server 2016. If you success, then test using UnTerminal, because it''s just a wrapper for TProcess. Logged Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8. fpc2pas. New Member;