Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
a497235a
Commit
a497235a
authored
Feb 16, 2024
by
Daniel Hiltgen
Browse files
Fix view logs menu
parent
df6dc4fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/lifecycle/logging_windows.go
app/lifecycle/logging_windows.go
+1
-1
No files found.
app/lifecycle/logging_windows.go
View file @
a497235a
...
@@ -11,7 +11,7 @@ func ShowLogs() {
...
@@ -11,7 +11,7 @@ func ShowLogs() {
cmd_path
:=
"c:
\\
Windows
\\
system32
\\
cmd.exe"
cmd_path
:=
"c:
\\
Windows
\\
system32
\\
cmd.exe"
slog
.
Debug
(
fmt
.
Sprintf
(
"viewing logs with start %s"
,
AppDataDir
))
slog
.
Debug
(
fmt
.
Sprintf
(
"viewing logs with start %s"
,
AppDataDir
))
cmd
:=
exec
.
Command
(
cmd_path
,
"/c"
,
"start"
,
AppDataDir
)
cmd
:=
exec
.
Command
(
cmd_path
,
"/c"
,
"start"
,
AppDataDir
)
cmd
.
SysProcAttr
=
&
syscall
.
SysProcAttr
{
HideWindow
:
tru
e
,
CreationFlags
:
0x08000000
}
cmd
.
SysProcAttr
=
&
syscall
.
SysProcAttr
{
HideWindow
:
fals
e
,
CreationFlags
:
0x08000000
}
err
:=
cmd
.
Start
()
err
:=
cmd
.
Start
()
if
err
!=
nil
{
if
err
!=
nil
{
slog
.
Error
(
fmt
.
Sprintf
(
"Failed to open log dir: %s"
,
err
))
slog
.
Error
(
fmt
.
Sprintf
(
"Failed to open log dir: %s"
,
err
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment