Checks whether the given shell list is actually a request to execute raw * commands without an external shell. */
| 97 | * commands without an external shell. |
| 98 | */ |
| 99 | int 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. */ |
no test coverage detected