Guild icon
DDraceNetwork
DDraceNetwork / off-topic
Any languages allowed
Between 2024-03-21 00:00:00Z and 2024-03-22 00:00:00Z
Avatar
whats the right way to start an app from the terminal?
07:30
because if i just do something like spotify-launcher i cant close the termianl without closing spotify
Avatar
screen (edited)
07:43
Screen or GNU Screen, is a terminal multiplexer. In other words, it means that you can a start a screen session and then open any number of windows (virtual terminals) inside that session.
07:43
Avatar
Avatar
Ewan
you use rider? 😨
its just better for unity specifically (edited)
08:39
i dont want to teach my colleagues how git works. with UnityYAMLMerge setup, conflict resolving, blaming and stuff. Rider's git is just plain better for Unity, so I just made everyone in my team use Rider.
08:39
pepeW
08:40
Rider also does automatic rebase even with a dirty tree and unversioned files.
Avatar
Avatar
Teero
screen (edited)
Probably not
08:41
You should use suspend
Avatar
Avatar
pilonpl
because if i just do something like spotify-launcher i cant close the termianl without closing spotify
spotify-launcher & ? (edited)
Avatar
that doesnt work
Avatar
If you do ctrl + z while engaged in a terminal app or append & to ur command it’ll go into the background
Avatar
Avatar
pilonpl
that doesnt work
how
Avatar
it took me a while to get used to it since rebase in rider isnt just git rebase, merge isnt just git merge. but for non programmers it seems pretty easy to understand that it is just some magic so it works i guess.
Avatar
do & and then disown
Avatar
Avatar
Ewan
If you do ctrl + z while engaged in a terminal app or append & to ur command it’ll go into the background
Ctrl z will halt your program no?
Avatar
Until you disown it
08:42
Or fg
08:43
How do you get it back after closing the term?
08:43
ah fg
Avatar
Avatar
Teero
ah fg
aka foie gras
08:44
amogus
08:45
i should eat something
08:45
havent had any food today
08:46
it's 4:45pm here
Avatar
9am for me
Avatar
i called for a sick day and slept all day
08:46
very epic
08:47
brownbear 1
Avatar
repost!!!!!
08:47
what about this one
🥖 1
Avatar
i saw this today and tried to find the english original
08:48
lol
Avatar
Avatar
TsFreddie
i should eat something
QUE?
Avatar
Avatar
TsFreddie
havent had any food today
Isnt that everyday?!
Avatar
whats that
Avatar
It means what afaik
Avatar
Freddie are U really joining food gang?!
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
That yellow thing is cheese or lemon
Avatar
pineapple
cammostripes 1
Avatar
Absolutely not my taste
14:35
@meloƞ
Avatar
Avatar
Ewan
do & and then disown
i wish there was just a single command to do that like start or something
Avatar
Avatar
pilonpl
i wish there was just a single command to do that like start or something
screen
Avatar
nohup command &
17:13
command &
17:13
command
17:13
ctrl + Z, then bg
Avatar
????????????????
Avatar
this is some next level presentation
Avatar
$kog
🇰 2
🇴 2
🇨 2
🥥 1
19:56
!kog
19:56
man why are all kog servers locked xd
19:59
aaaaa
19:59
why
pepeW 2
Avatar
Avatar
Chairn
ctrl + Z, then bg
i believe bg will end it with the shell
21:27
he wants disown
Avatar
it won't
Avatar
well in pretty sure bg keeps it connected to the shell’s job mechanism where disown lets it be independent. unless you disown it the process will die with the owning shell (edited)
22:08
nohup is questionable because often i don’t want to save stdout and stderr at all so it just creates this unwanted clutter file
22:09
nohup might be good in many situations but it’s never been a big deal for me when (1. using applications that don’t care about standard input and (2. aren’t involved in any sort of remote session/TTY where you actually care about the hangup signal
Avatar
Avatar
Ewan
well in pretty sure bg keeps it connected to the shell’s job mechanism where disown lets it be independent. unless you disown it the process will die with the owning shell (edited)
bg allows the shell to exit even if the background process hasn't finished and won't kill it
Avatar
that's at least how it works on debian 12 and ubuntu as well
Avatar
so it’s completely irrelevant if you’re just hoping to control the app’s state via its own mechanisms and graphical tools and stuff
22:16
i guess with bg u can conjure it into the foreground from another shell
Avatar
Can it be done with xdg-run or some other xdg-utils thing?
23:30
Maybe that's the way to go
23:30
I think xdg-open doesn't keep holding your shell and just forks itself off or so
Exported 85 message(s)