feat: INJECTION !!

PYZULE FINALLY DOESNT SUCK!
This commit is contained in:
zx
2024-09-03 00:13:00 -04:00
parent 8c4d35f568
commit 5fe28ee86c
218 changed files with 7414 additions and 19 deletions

View File

@@ -0,0 +1,19 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/// Executes a shell command and returns its output.
///
/// @param command The shell command to run.
/// @param returnCode A pointer to an integer that will contain the return code of the command.
/// @return The output of the provided command.
FOUNDATION_EXPORT NSString * _Nullable HBOutputForShellCommandWithReturnCode(NSString *command, int *returnCode);
/// Executes a shell command and returns its output.
///
/// @param command The shell command to run.
/// @return The output of the provided command, or nil if the command returned with a code other
/// than 0.
FOUNDATION_EXPORT NSString * _Nullable HBOutputForShellCommand(NSString *command);
NS_ASSUME_NONNULL_END