Compare commits
2 Commits
42438b3cd5
...
948f1061da
| Author | SHA1 | Date | |
|---|---|---|---|
| 948f1061da | |||
| 335f0dbb9b |
@@ -401,6 +401,7 @@ public class DatasetService {
|
||||
|
||||
|
||||
private String escape(String path) {
|
||||
// 쉘 커맨드에서 안전하게 사용할 수 있도록 문자열을 작은따옴표로 감싸면서, 내부의 작은따옴표를 이스케이프 처리
|
||||
return "'" + path.replace("'", "'\"'\"'") + "'";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user