feat: MacOSで実行する時のコマンド指定が微妙に違うので、メモとしてコメントしておく
This commit is contained in:
parent
ce9d8229d5
commit
6aedfa1643
@ -74,6 +74,7 @@ def _convert_character_hex(dat_file_path: str, config_file_path: str) -> str:
|
||||
|
||||
for src_hex, dst_hex in hex_convert_config_dict.items():
|
||||
# sedコマンドで置き換え
|
||||
# MacOSで実行する場合のコマンド
|
||||
# subprocess.call([f"export LANG=C && sed -i '' -e \"s/{src_hex}/{dst_hex}/g\" {dat_file_path}"], shell=True)
|
||||
subprocess.call([f"sed -e \"s/{src_hex}/{dst_hex}/g\" {dat_file_path}"], shell=True)
|
||||
logger.debug('文字コード変換終了')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user