flw-cn / ap Goto Github PK
View Code? Open in Web Editor NEWauto-pager -- Just when you were regretting not paging, it's paged!
auto-pager -- Just when you were regretting not paging, it's paged!
终端不能响应任何操作,子进程处在僵尸的状态
root 21568 8739 99 18:40 pts/7 00:00:10 ap ls
root 21573 21568 0 18:40 ? 00:00:00 [ls] <defunct>
kill -SIGQUIT 21568
显示程序卡在了keepCopying
main.keepCopying({0x4e82c0, 0xc0000a0300}, {0x4e8340, 0xc0000ba020})
/go/pkg/mod/github.com/flw-cn/ap@v0.0.0-20220210125115-05bd0627ed93/main.go:158 +0x4c
main.run(0xc0000c4000, 0xc0000b4010, 0xc0000bc068)
/go/pkg/mod/github.com/flw-cn/ap@v0.0.0-20220210125115-05bd0627ed93/main.go:139 +0x38b
main.main()
/go/pkg/mod/github.com/flw-cn/ap@v0.0.0-20220210125115-05bd0627ed93/main.go:77 +0x405
例如在bash中已经定义了ls
alias ls='ls $LS_OPTIONS -lA'
现在 eval "$(ap --bash)"之后,alias变成了如下定义
alias ls='ap ls'
能否实现eval之后把ls定义为
alias ls='ap $LS_OPTIONS -lA'
ATT
> go build
.\main.go:162:3: unknown field Setsid in struct literal of type syscall.SysProcAttr
.\main.go:164:3: unknown field Setctty in struct literal of type syscall.SysProcAttr
.\main.go:168:3: unknown field Ctty in struct literal of type syscall.SysProcAttr
.\main.go:182:11: undefined: syscall.SIGCHLD
.\main.go:183:11: undefined: syscall.SIGWINCH
.\main.go:192:16: undefined: syscall.SIGWINCH
.\main.go:198:16: undefined: syscall.SIGCHLD
.\main.go:199:36: undefined: syscall.SIGCONT
^Z 应当让程序后台挂起,并返回当前shell,使用fg/bg让任务继续在前台/后台运行。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.