Skip to content

Commit

Permalink
AppImage 展開時の標準出力を /dev/null へ出力するように修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
mikoto2000 committed Jun 13, 2024
1 parent 1b7905a commit b26f863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devcontainer/devcontainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func ExecuteDevcontainer(args []string, devcontainerPath string, vimFilePath str
workspaceFolder,
"sh",
"-c",
"cd ~; /" + vimFileName + " --appimage-extract; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc"}
"cd ~; /" + vimFileName + " --appimage-extract > /dev/null; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc"}
fmt.Printf("Start vim: `%s \"%s\"`\n", devcontainerPath, strings.Join(dockerVimArgs, "\" \""))
dockerExec := exec.CommandContext(ctx, devcontainerPath, dockerVimArgs...)
dockerExec.Stdin = os.Stdin
Expand Down
2 changes: 1 addition & 1 deletion docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func Run(args []string, vimFilePath string, cdrPath string, configDirForDocker s
containerId,
"sh",
"-c",
"cd ~; /" + vimFileName + " --appimage-extract; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc",
"cd ~; /" + vimFileName + " --appimage-extract > /dev/null; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc",
}
fmt.Printf("Start vim: `%s \"%s\"`\n", CONTAINER_COMMAND, strings.Join(dockerVimArgs, "\" \""))
dockerExec := exec.CommandContext(ctx, CONTAINER_COMMAND, dockerVimArgs...)
Expand Down

0 comments on commit b26f863

Please sign in to comment.