MCPcopy Create free account
hub / github.com/boostorg/build / is_raw_command_request

Function is_raw_command_request

src/engine/execcmd.cpp:100–105  ·  view source on GitHub ↗

Checks whether the given shell list is actually a request to execute raw * commands without an external shell. */

Source from the content-addressed store, hash-verified

98 * commands without an external shell.
99 */
100int is_raw_command_request( LIST * shell )
101{
102 return !list_empty( shell ) &&
103 !strcmp( object_str( list_front( shell ) ), "%" ) &&
104 list_next( list_begin( shell ) ) == list_end( shell );
105}
106
107
108/* Returns whether an interrupt has been detected so far. */

Callers 3

exec_checkFunction · 0.85
exec_checkFunction · 0.85
exec_cmdFunction · 0.85

Calls 3

object_strFunction · 0.85
list_beginFunction · 0.85
list_endFunction · 0.85

Tested by

no test coverage detected