mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 12:00:44 +01:00
* chore(organization): allow nested header and c files * feat: add shell login "middleware" & etc: * lidm now calls `bash` (or other shells, depends on PACKAGE cfg) in login mode as a session wrapper to source most env (can be disabled) * this fixes a lot of env problems with all `/etc/profile` and more Extra: * implemented a musl compatible version of `execvpe` and now lidm should search for PATH everywhere it needs to * `search_path` now also checks if the found binary is properly executable * lidm now uses `confstr` for a decent PATH default if none is found * logs are unbuffered for cases where debug logs appear empty (exit without handlers moment) * chore: one-time evaluate certain makefile vars --------- Co-authored-by: grialion <48643945+grialion@users.noreply.github.com>
15 lines
395 B
C
15 lines
395 B
C
// TODO: rewrite properly
|
|
// NOLINTBEGIN(clang-diagnostic-nullability-completeness)
|
|
|
|
#ifndef DESKTOP_EXEC_H_
|
|
#define DESKTOP_EXEC_H_
|
|
|
|
#include "macros.h"
|
|
|
|
char* NULLABLE desktop_as_cmdline(char** args);
|
|
int parse_exec_string(const char* exec_s, int* arg_count, char*** args);
|
|
void free_parsed_args(int arg_count, char** args);
|
|
|
|
#endif
|
|
// NOLINTEND(clang-diagnostic-nullability-completeness)
|