feat: linux上で実行する場合の正しいコマンドに修正
This commit is contained in:
parent
6aedfa1643
commit
e443b32eb4
@ -76,7 +76,7 @@ def _convert_character_hex(dat_file_path: str, config_file_path: str) -> str:
|
||||
# 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)
|
||||
subprocess.call([f"sed -i -e \"s/{src_hex}/{dst_hex}/g\" {dat_file_path}"], shell=True)
|
||||
logger.debug('文字コード変換終了')
|
||||
|
||||
return dat_file_path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user