diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-03-29 20:59:57 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-03-29 20:59:57 +0200 |
commit | db566408d4572e2344011deeae8feffda6418081 (patch) | |
tree | 32e41cce94e28c983e973f2f8bf679802cfdb2c1 /src/c_player.go | |
parent | In progress (diff) | |
download | go2work-db566408d4572e2344011deeae8feffda6418081.tar.gz go2work-db566408d4572e2344011deeae8feffda6418081.tar.bz2 go2work-db566408d4572e2344011deeae8feffda6418081.tar.xz go2work-db566408d4572e2344011deeae8feffda6418081.tar.zst go2work-db566408d4572e2344011deeae8feffda6418081.zip |
Smooth so far
Diffstat (limited to 'src/c_player.go')
-rw-r--r-- | src/c_player.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c_player.go b/src/c_player.go index 5180295..6c384f8 100644 --- a/src/c_player.go +++ b/src/c_player.go @@ -39,7 +39,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * go2work: src/c_player.go - * Thu Mar 24 16:17:10 CET 2022 + * Tue Mar 29 20:59:52 CEST 2022 * Joe * * Simple func that plays the file @@ -57,13 +57,13 @@ import ( func exec_player(show_fortune bool, args ...string) { var cmd *exec.Cmd if show_fortune == true { + fmt.Print("\n\n") cmd = exec.Command("fortune", "-s") var out bytes.Buffer cmd.Stdout = &out cmd.Run() fmt.Println(out.String()) } - fmt.Println("Playing: " + args[len(args) - 1]) cmd = exec.Command(args[0], append(args[1:])...) err := cmd.Run(); if err != nil { |