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
run hcicmd from tcl
System
Originally posted by Mason Miller
Is it possible to run a hcicmd command within a tcl proc? If so how do you exec the command?
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
Windows or Unix?
On Unix simply exec it as you would any other command.
On Windows Tcl has a problem, its a windows thing :-)
You can only exec .exe, .com, or .bat files. hcicms is a er; script (.pl)
We created a command called hcicmdnt for Windows which you can exec directly.
For other perl (.pl) or Tcl (.htc) scripts you want to exec in windows you need to exec Tcl or perl and pass the full path of the script as an argument
System
Originally posted by Mason Miller
On Unix, thanks I thought I tried that but a guess not. what about setroot and setsite?
Charlie Bursell
If you are running hcicmd I would assume the root/site is set
If from CRON, You can set it there
System
Originally posted by Mason Miller
Thanks very helpful.
david_barr
Just be aware that you probably won't be able to use hcicmd to directly send commands to your current process. The command thread in a process can't run while there's a TPS proc is running, so you won't get a response.