openselectedtext.c (207B)
1 void 2 selopen(const Arg *dummy) 3 { 4 pid_t chpid; 5 6 if ((chpid = fork()) == 0) { 7 if (fork() == 0) 8 execlp("xdg-open", "xdg-open", getsel(), NULL); 9 exit(1); 10 } 11 if (chpid > 0) 12 waitpid(chpid, NULL, 0); 13 }
stKris's build of st | |
| git clone git clone https://git.krisyotam.com/krisyotam/st.git | |
| Log | Files | Refs | README | LICENSE |