KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ How to open up terminal in KX Developer

Tagged: 

  • How to open up terminal in KX Developer

    Posted by Jonathan on October 11, 2024 at 12:39 pm

    Is it possible to open up a terminal in KX developer? For example, I want to run some code that takes command line arguments like when running a tick.q file.

    jlucid replied 3 weeks, 3 days ago 2 Members · 1 Reply
  • 1 Reply
  • jlucid

    Member
    October 23, 2024 at 7:14 pm

    Hi Jonathan,


    Kx Dashboards is primary designed to allow you to establish connections to running q processes, like RDBs and HDBs, and run queries/functions against them using the datasource mechanism. You can use this to retrieve data or to send a signal to a process.

    Now the function you execute on that process could include a system command, which you could use to trigger a script or start another process in the background. But to be honest it’s a messy solution, I’d try to keep kxdashboards purely for querying data if possible, otherwise it could get confusing and hard to maintain very quickly.


    What exactly did you want to do?


    https://code.kx.com/q/ref/system/%5BBR_PLACEHOLDER%5D



Log in to reply.