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

Function is_raw_command_request

v2/engine/execcmd.c:99–104  ·  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

97 * commands without an external shell.
98 */
99int is_raw_command_request( LIST * shell )
100{
101 return !list_empty( shell ) &&
102 !strcmp( object_str( list_front( shell ) ), "%" ) &&
103 list_next( list_begin( shell ) ) == list_end( shell );
104}
105
106
107/* 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