Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi Zero Stop a running program with C

Featured Replies

Hi everybody,

 

My question is about stop a running program with C. I have written a c code to start program with system() function in orange pi zero. I am starting RTKLIB software, which is STR2STR and when my code starts the software with command str2str -in serial://ttyS1:115200 -out serial:ttyS2:115200, I can stop it with CTRL^C but I want to stop it from my software. When I got a TCP pocket containing a exit status word. It should stop the STR2STR software. I am not very good at linux. How can I do that?

 

Thanks

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.