infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
process log files in 5.4
david_barr
I'm executing a TCL system call from a TPS proc, and I'd like for the output of the command that I'm executing to appear in the process log, but this doesn't happen.
Find more posts tagged with
Clovertech
Comments
david_barr
I've come up with a better work-around for this problem. I can change:
set result [system foo.sh 1>&2]
to
set result [catch {exec sh -c "foo.sh 2>&1" >@ stdout}]
This means that I can only get success/failure of the command and not exact return codes, but that doesn't bother me too much.
I think the problem is that Cloverleaf has modified the TCL "stdout" channel so that it no longer refers to the operating system "stdout" file descriptor. This seems like a bad decision to me.