Torge Matthies
2259cc34a8
sc: Allow using separate arguments for parameter name and value.
...
In addition to using one argument for both parameter name and value.
This fixes a regression from commit 8b38c91d83
.
Signed-off-by: Torge Matthies <tmatthies@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:39:14 +02:00
Dmitry Timoshkov
bc54bcf878
sc: Don't silently fail when something doesn't work as expected in a few more places.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-29 20:53:50 +02:00
Dmitry Timoshkov
e75ebfb31f
sc: Print service status after 'start' and 'stop' commands.
...
Like Windows 10 sc.exe does.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-29 20:53:50 +02:00
Dmitry Timoshkov
921c86a35d
sc: Add support for the 'query' command.
...
Output is modelled on behaviour observed under the Windows 10.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-29 20:53:50 +02:00
Dmitry Timoshkov
1447872b0c
sc: Don't silently fail when something doesn't work as expected.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-18 17:40:52 +01:00
Dmitry Timoshkov
8b38c91d83
sc: Fix parsing parameter name in the 'switch=param' constructs.
...
So that 'sc create test binpath=test.exe' actually works.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-18 17:40:47 +01:00
Eric Pouech
70d4f9b0c6
sc: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 10:59:05 +01:00
Nikolay Sivov
d3ddc11864
sc: Fix typos in CLI arguments parsing.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-12 19:32:15 +02:00
Michael Stefaniuc
8e9b9da0f8
sc: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-07 10:16:02 +02:00
Louis Lenders
a22b295cc3
sc.exe: Fake succes for the SdSet argument.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49620
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-27 23:28:16 +02:00
Alexandre Julliard
ed6a5e97e0
programs: Make all program entrypoints cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Alexandre Julliard
a0863ce2e5
sc: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:55 +02:00
Nikolay Sivov
0a3e54480a
sc: Fix service handle leak on error path (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 01:28:31 +09:00
Alexandre Julliard
c9eee73450
makefiles: Define __WINESRC__ when building programs.
2012-01-23 16:07:37 +01:00
Hans Leidekker
e86ed3bf91
sc: Implement the start and stop commands.
2010-05-03 14:02:36 +02:00
Hans Leidekker
3e1f5ba382
sc: Implement the description and failure commands.
2010-05-03 14:02:30 +02:00
Hans Leidekker
5e9d2fc44a
sc: Implement the create and delete commands.
2010-05-03 14:02:23 +02:00
Hans Leidekker
544da28e53
programs: Add a stubbed sc.exe.
...
This is a command line tool used to create and configure services.
It's included in XP and used by the Akamai client installer.
2010-05-03 14:02:14 +02:00