@@ -66,11 +66,11 @@ * @brief Creates a new OFProcess with the specified program and arguments and * invokes the program. * * @param program The program to execute. If it does not start with a slash, the * search path specified in PATH is used. - * @param arguments The arguments to pass to the program, or nil + * @param arguments The arguments to pass to the program, or `nil` * @return A new, autoreleased OFProcess. */ + (instancetype) processWithProgram: (OFString*)program arguments: (nullable OFArray OF_GENERIC(OFString*)*)arguments; @@ -81,11 +81,11 @@ * * @param program The program to execute. If it does not start with a slash, the * search path specified in PATH is used. * @param programName The program name for the program to invoke (argv[0]). * Usually, this is equal to program. - * @param arguments The arguments to pass to the program, or nil + * @param arguments The arguments to pass to the program, or `nil` * @return A new, autoreleased OFProcess. */ + (instancetype) processWithProgram: (OFString*)program programName: (OFString*)programName @@ -97,16 +97,16 @@ * * @param program The program to execute. If it does not start with a slash, the * search path specified in PATH is used. * @param programName The program name for the program to invoke (argv[0]). * Usually, this is equal to program. - * @param arguments The arguments to pass to the program, or nil - * @param environment The environment to pass to the program, or nil. If it is - * non-nil, the passed dictionary will be used to override - * the environment. If you want to add to the existing - * environment, you need to get the existing environment - * first, copy it, modify it and then pass it. + * @param arguments The arguments to pass to the program, or `nil` + * @param environment The environment to pass to the program, or `nil`. If it + * is not `nil`, the passed dictionary will be used to + * override the environment. If you want to add to the + * existing environment, you need to get the existing + * environment first, copy it, modify it and then pass it. * @return A new, autoreleased OFProcess. */ + (instancetype) processWithProgram: (OFString*)program programName: (OFString*)programName @@ -128,11 +128,11 @@ * @brief Initializes an already allocated OFProcess with the specified program * and arguments and invokes the program. * * @param program The program to execute. If it does not start with a slash, the * search path specified in PATH is used. - * @param arguments The arguments to pass to the program, or nil + * @param arguments The arguments to pass to the program, or `nil` * @return An initialized OFProcess. */ - initWithProgram: (OFString*)program arguments: (nullable OFArray OF_GENERIC(OFString*)*)arguments; @@ -142,11 +142,11 @@ * * @param program The program to execute. If it does not start with a slash, the * search path specified in PATH is used. * @param programName The program name for the program to invoke (argv[0]). * Usually, this is equal to program. - * @param arguments The arguments to pass to the program, or nil + * @param arguments The arguments to pass to the program, or `nil` * @return An initialized OFProcess. */ - initWithProgram: (OFString*)program programName: (OFString*)programName arguments: (nullable OFArray OF_GENERIC(OFString*)*)arguments; @@ -157,16 +157,16 @@ * * @param program The program to execute. If it does not start with a slash, the * search path specified in PATH is used. * @param programName The program name for the program to invoke (argv[0]). * Usually, this is equal to program. - * @param arguments The arguments to pass to the program, or nil - * @param environment The environment to pass to the program, or nil. If it is - * non-nil, the passed dictionary will be used to override - * the environment. If you want to add to the existing - * environment, you need to get the existing environment - * first, copy it, modify it and then pass it. + * @param arguments The arguments to pass to the program, or `nil` + * @param environment The environment to pass to the program, or `nil`. If it + * is not `nil`, the passed dictionary will be used to + * override the environment. If you want to add to the + * existing environment, you need to get the existing + * environment first, copy it, modify it and then pass it. * @return An initialized OFProcess. */ - initWithProgram: (OFString*)program programName: (OFString*)programName arguments: (nullable OFArray OF_GENERIC(OFString*)*)arguments