Reputation
475
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 4 11
Impact
~21k people reached

  • 0 posts edited
  • 1 helpful flag
  • 47 votes cast
Jun
28
accepted Why do some apt installation commands require confirmation?
Jun
27
asked Why do some apt installation commands require confirmation?
Jun
27
comment Why is installing a 32bit package on a 64bit system warning about removing critical 64bit packages?
Is there an option to apt-get install that insists on exact match for the package name? Does the -0 have some significance?
Jun
27
accepted Why is installing a 32bit package on a 64bit system warning about removing critical 64bit packages?
Jun
25
asked Why is installing a 32bit package on a 64bit system warning about removing critical 64bit packages?
Jun
25
asked What does 'Disk sleep' in the KDE System Monitor mean?
Jun
8
revised What optimized tools are available for comparing directory contents?
added 2 characters in body; edited title
Jun
8
asked What optimized tools are available for comparing directory contents?
Jun
8
revised Can a command be executed without a shell?
added 1 character in body
Jun
6
asked Cannot connect to public IP address of server used as VPN gateway?
Jun
5
comment How can I restart a VPN whenever I connect via wireless or 3G/4G?
I am using Ubuntu Precise. I'd also prefer to use something scripted, not something done through a GUI
Jun
5
revised How can I restart a VPN whenever I connect via wireless or 3G/4G?
added info
Jun
5
asked How can I restart a VPN whenever I connect via wireless or 3G/4G?
May
28
revised Can a command be executed without a shell?
added more information
May
26
awarded  Famous Question
May
21
comment Can a command be executed without a shell?
I think you may have misread the question. The commands are not entered into a terminal, but are executed by an application. ssh@localhost works as I expect because the commands get run in a terminal environment. What I need is for the application to be able to execute the commands as though they are typed in a terminal without going through SSH and return the output, a command that creates the environment like ssh@localhost does, but a local one.
May
21
comment Can a command be executed without a shell?
@roaima I used the ssh@localhost method to test if it the problem was related to creation of the environment which turned out to be the case, but ssh@localhost incurs an overhead and it requires extra care with escaping strings which is why is not appropriate for my usage.
May
21
comment Is it possible to execute a binary without specifying the full path or the preceding './'?
I am developing the program with Lazarus and the commands are executed with the TProcess object. The directory is set via TProcess.CurrentDirectory and the command via TProcess.CommandLine
May
21
comment Can a command be executed without a shell?
The API I am using has a property called 'CurrentDirectory' and it switches to the 'CurrentDirectory' before executing 'Command'. It is not actually a shell, like bash. As I said 'ls -l' returns the correct output so 'Current Directory' is set properly.
May
21
comment Can a command be executed without a shell?
@roaima Preceding the command with 'ssh user@localhost' is an unnecessary overhead and there should be a way of creating the environment without logging in again via SSH