From 7cb40ebeef5d7a6aefd9096ec415be9ce77256f5 Mon Sep 17 00:00:00 2001 From: Alberto Luaces Date: Fri, 13 Sep 2024 13:17:29 +0200 Subject: [PATCH] Use .interrupt in its own example instead of .request_exit --- doc/v2/quickstart.qbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/v2/quickstart.qbk b/doc/v2/quickstart.qbk index 7bd80ed5f..1d5089c42 100644 --- a/doc/v2/quickstart.qbk +++ b/doc/v2/quickstart.qbk @@ -68,7 +68,7 @@ interpret as a signal to shutdown. ``` process proc("/usr/bin/addr2line", {}); - proc.request_exit(); + proc.interrupt(); proc.wait(); ``` @@ -120,4 +120,4 @@ The async version supports cancellation and will forward cancellation types as f [endsect] -[endsect] \ No newline at end of file +[endsect]