Coming soon - Get a detailed view of why an account is flagged as spam!
view details
3
tmux invocation works on command line but not in exec.Command.Run() - would love some help
Post Body

I'm building a tmux invocation that results in:

tmux new -s tmux-session-name 'java -jar server.jar'

This works perfectly well when run from the command line, but for whatever reason, when I run it from exec.Command.Run() it is treating it like it doesn't have quotes. I have tried both single and escaped double quotes.

What am I missing?

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
31,006
Link Karma
8,896
Comment Karma
22,110
Profile updated: 5 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago