tarantool / tarantool/doc

`popen_handle:is_closed()` method

Open
#5,153 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

The new is_closed() method returns true if the popen handle is
closed, and false otherwise.

Usage example:

local ph = popen.new(<...>)
assert(ph:is_closed() == false)
...
ph:close()
assert(ph:is_closed() == true)

Requested by @ImeevMA in https://github.com/tarantool/tarantool/commit/5921a93d0b4b4ccf490e3561c144cbc9fc4e0c2e.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing documentation for the popen handle and its related methods. Add an entry for is_closed() describing the true/false behavior and adapt the usage example from the issue; done when the method is documented consistently with the surrounding API.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.