Questions tagged [system]

System may refer to a set of interdependent components; Low level infrastructure like the operating system (from a high language point of view) or an object or function for accessing the previous

The system tag is used for referring to the operating system, or functions thereof, when accessed from a higher-level language.

Many high-level languages offer access to the features of the system by an object or function called system itself. Questions regarding these objects might as well be tagged with this tag.

In normal English, a system is a set of interacting or interdependent components forming an integrated whole or a set of elements (often called 'components' ) and relationships which are different from relationships of the set or its elements to other elements or sets.

4678 questions
1
vote
0 answers

How to run virtual keyboard on macOS (Catalina / Big Sur)

I can run virtual keyboard app in macOS Sierra but not in Catalina and Big Sur. Are there any alternative available to launch virtual keyboard from terminal.
Mandar
  • 1,006
  • 11
  • 28
1
vote
1 answer

Matlab giving error due to space between "Program Files" folder name

I am trying to unzip a file using Matlab by calling WinRAR through system function of the Matlab. When I gave the path of the WinRAR exe to the system command, I got the folliwng error about the "Program Files" folder: 'C:\Program' is not recognized…
Mushi
  • 367
  • 2
  • 4
  • 14
1
vote
1 answer

FreeBSD kill(2) implementation

I'm taking a FreeBSD course and am reading the implementation of system call kill(2). http://fxr.watson.org/fxr/source/kern/kern_sig.c?v=FREEBSD82#L1687 Part of the code: 1717 switch (uap->pid) { 1718 case -1: /*…
pippoflow
  • 181
  • 14
1
vote
4 answers

Java installer. How to set Windows system path?

I've got a Java installer which deploys a binary to "ProgramFiles"\myapp. I'd like to make it accessible from the command line. Under Linux, the binary is deployed to /usr/local/bin/. Under Mac, I plan to deploy the binary to /usr/bin/. How do I…
AdamOutler
  • 870
  • 4
  • 13
  • 29
1
vote
1 answer

Perl alternatives for asynchronous script execution when forking is disallowed and backticks and system() do not work?

Update: This has been resolved for system() and backticks by specifying the full path to the external script. I will further investigate the fork issue on my own. Thanks to all for assisting. At How do I run a Perl script from within a Perl script?…
1
vote
0 answers

I got an invalid Python SDK When I use Pycharm on my Mac

I am newbie in PyCharm and Python. Now when I ran the script on my mac, PyCharm said you have an invalid interpreter. And I got the error as below. Also, I would like to configure the system interpreter. However, another error appears, "Invalid…
BCPH
  • 11
  • 1
1
vote
2 answers

How can I access system information from JavaScript?

I want to get information - like the number of monitors the client is using. I need access to system calls and I understand that since the browser is sandboxed, it can't execute sys calls. What other options do I have to do this (other than the…
Ali
  • 56
  • 5
1
vote
1 answer

Flow through interface in SysML

I was wondering how it would be possible to relate, within a SySML block diagram, the data flowing through two components with the interfaces that they expose. As an example, assume that you have a supervisor component setting a reference for a…
1
vote
1 answer

How to redirect the output of system() called in a C program to syslog?

Inside my C code I call system to have result from a bash command. I.e. system("ps aux | grep my_prog | head -n 1") All is fine when I run my program in foreground mode, but in production is a service, so I need to see the output of system in…
Kyrol
  • 3,475
  • 7
  • 34
  • 46
1
vote
1 answer

Decimal and hexadecimal representation of different powers of 2

I understand 2n(9) = 512 but how did it convert to 0x200. Can anyone explain it to me from a different perspective. Reference problem from "Computer Systems: programmers perspective" Pg.35
Seth_Stone
  • 11
  • 3
1
vote
1 answer

Failed to start OMI CIM Server. [LINUX]

systemd: Starting OMI CIM Server... systemd: Failed at step EXEC spawning /opt/omi/bin/support/installssllinks: No such file or directory systemd: omid.service: control process exited, code=exited status=203 systemd: Failed to start OMI CIM…
mizL
  • 15
  • 3
1
vote
2 answers

Selecting a random character froma string in PHP

I'm creating a security system in PHP which requires the user to enter a certain character from their unique security key, I was wondering how it is possible to make php return a selected character from a string. For example, the security code is…
Aiden Ryan
  • 845
  • 2
  • 11
  • 15
1
vote
1 answer

getting linux command exit code when executed via exec/system in php

my terminology my be off, but here goes: lets assume one executes: /bin/somecommand using exec or system in php the above command returns 'exit code' (this is the terminology that may be off) '1'. is it possible to fetch this value via php? if…
anonymous-one
  • 14,454
  • 18
  • 60
  • 84
1
vote
0 answers

Fix dimensions of cmd window

I am learning C and I would like to change the terminal properties in a given code of mine. I know that to change the dimensions I can easily use system("mode con:cols=80 lines=30");, for example. But if, when the code is executed, the user wants to…
Edssaac
  • 11
  • 2
1
vote
0 answers

How to get an event when the system clock has changed

I am looking for how i can build a service that is aware when the system clock is adjusted in windows e.g. by getting some notification when w32time performs a synchronisation to time.windows.com To give some context, I have an service that I…
Lawrence Kok
  • 1,568
  • 11
  • 29