Southclaws / sampctl

The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer.
GNU General Public License v3.0
241 stars 33 forks source link

Fix pty issues on Linux, see https://github.com/creack/pty/issues/96 #440

Closed Cheaterman closed 3 years ago

Cheaterman commented 3 years ago

Logs:

cheaterman@cmans-laptop ~/Dev/open.mp/pawn-test-scripts $ sampctl package run
failed to run package: received runtime error: failed to start server: failed to start pty: fork/exec /home/cheaterman/Dev/open.mp/pawn-test-scripts/samp03svr: Setctty set but Ctty not valid in child
ADRFranklin commented 3 years ago

Can you rebase it on dev and not master?

ADRFranklin commented 3 years ago

I'm not sure what has caused this to now be an issue, but after re-building the latest dev version locally, I am also getting this issue, yet when I last worked on dev, I never had this problem.

So what changed? Since we haven't updated any libs since then, I can't see why it would now cause us issues.