맥 출력 제대로 안나오는 문제 수정

This commit is contained in:
Toki 2023-11-05 10:10:36 +09:00
parent d04f43591f
commit 381f14d11e
2 changed files with 4 additions and 4 deletions

View file

@ -246,12 +246,12 @@ class _PrinterUnix extends Printer {
Future printCLI(List<String> printList) async {
var c = Completer();
StringBuffer message = StringBuffer();
message.writeln("echo -e '");
message.writeln('echo -e "');
for (var item in printList) {
message.writeln(item);
}
message.write("'");
message.write('"');
var temp = await getTempFile(message.toString(), 'sh');
await Process.run('zsh', [temp.path]).then((ProcessResult result) {

View file

@ -10,8 +10,8 @@ class CommandExe extends CommandBase {
@override
Map<String, List<String>> get arguments => {
'-j': ["Used when it's a Jenkins build."],
'-f {file path}': ["Run the yaml file to process."],
'-t': ["This is the setup for testing."]
'-t': ["This is the setup for testing."],
'-f {file path}': ["Run the yaml file to process."]
};
@override
String get name => 'exe';