« Can a historical database be partitioned on multiple levels - say, by date, then symbol? | Main | How do i interpret the output of function .Q.w[]? »

'exit' fails to terminate kdb console. How do I gracefully exit a kdb process?

exit 0 or \\ or simply control+d from a console.

Inside a function, the double backslash requires escaping. Use value "\\\\" or system "\\\\"

Note: kdb process exits can be trapped via .z.exit.

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (1)

References allow you to track sources for this article, as well as articles that were written in response to this article.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Textile formatting is allowed.