Click here to Skip to main content
15,904,823 members
Home / Discussions / Linux Programming
   

Linux Programming

 
GeneralRe: How to "provide password " REMOVED Pin
Richard MacCutchan5-May-23 3:51
mveRichard MacCutchan5-May-23 3:51 
QuestionMessage Closed Pin
2-May-23 4:58
Member 149687712-May-23 4:58 
AnswerRe: Why is "su" failing and "sudo su " works ? Pin
k50542-May-23 5:29
mvek50542-May-23 5:29 
GeneralMessage Closed Pin
2-May-23 6:33
Member 149687712-May-23 6:33 
AnswerRe: Why is "su" failing and "sudo su " works - revised ? Pin
k50542-May-23 7:08
mvek50542-May-23 7:08 
GeneralRe: Why is "su" failing and "sudo su " works - revised ? Pin
Dr.Walt Fair, PE20-Feb-24 10:59
professionalDr.Walt Fair, PE20-Feb-24 10:59 
GeneralMessage Closed Pin
3-May-23 5:37
Member 149687713-May-23 5:37 
GeneralRe: Why is "su" failing and "sudo su " works - revised ? Pin
Richard MacCutchan2-May-23 22:04
mveRichard MacCutchan2-May-23 22:04 
Assuming that QP is a pointer to a QProcess Class | Qt Core 6.5.0[^] object then:
1. QStringList() << "-c" << command creates an array of strings which will form the second parameter of the QP->start call.
2. QP->start("/bin/sh", ... will create a shell process which reads the strings passed in via QStringList above, and executes the command string in the shell.
3. What happens next is not clear since it will depend on the actual command string, and how the start function treats the created process. The documentation should clarify.
GeneralRe: Why is "su" failing and "sudo su " works - revised ? Pin
Richard MacCutchan3-May-23 5:48
mveRichard MacCutchan3-May-23 5:48 
QuestionMessage Closed Pin
30-Apr-23 17:59
Member 1496877130-Apr-23 17:59 
AnswerRe: Debugging "command" .... Pin
Richard MacCutchan30-Apr-23 21:16
mveRichard MacCutchan30-Apr-23 21:16 
QuestionMessage Closed Pin
30-Apr-23 7:36
Member 1496877130-Apr-23 7:36 
AnswerRe: Restructuring (Linux) device partitions Pin
Richard MacCutchan30-Apr-23 6:02
mveRichard MacCutchan30-Apr-23 6:02 
PraiseRe: Restructuring (Linux) device partitions Pin
Olif Oftimis5-Aug-23 14:27
Olif Oftimis5-Aug-23 14:27 
AnswerRe: Restructuring (Linux) device partitions Pin
Dave Kreskowiak30-Apr-23 6:20
mveDave Kreskowiak30-Apr-23 6:20 
PraiseRe: Restructuring (Linux) device partitions Pin
Olif Oftimis5-Aug-23 14:28
Olif Oftimis5-Aug-23 14:28 
QuestionMessage Closed Pin
22-Apr-23 15:04
Member 1496877122-Apr-23 15:04 
AnswerRe: adding virtual rfcomm - repost Pin
Richard MacCutchan22-Apr-23 21:12
mveRichard MacCutchan22-Apr-23 21:12 
QuestionMessage Closed Pin
2-Apr-23 10:46
Member 149687712-Apr-23 10:46 
AnswerRe: Please help me understanding Bluetooth "socket"usage ... Pin
Richard MacCutchan2-Apr-23 22:22
mveRichard MacCutchan2-Apr-23 22:22 
GeneralMessage Closed Pin
3-Apr-23 4:31
Member 149687713-Apr-23 4:31 
GeneralRe: Please help me understanding Bluetooth "socket"usage ... Pin
Richard MacCutchan3-Apr-23 4:40
mveRichard MacCutchan3-Apr-23 4:40 
AnswerRe: Please help me understanding Bluetooth "socket"usage ... Pin
Gerry Schmitz3-Apr-23 6:10
mveGerry Schmitz3-Apr-23 6:10 
AnswerRe: Please help me understanding Bluetooth "socket"usage ... Pin
jschell3-Apr-23 6:47
jschell3-Apr-23 6:47 
GeneralMessage Closed Pin
3-Apr-23 14:08
Member 149687713-Apr-23 14:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.